Skip to content

Commit

Permalink
fix(specs): remove SFCC source type [skip-bc] (#4190) (generated) [sk…
Browse files Browse the repository at this point in the history
…ip ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
algolia-bot and millotp committed Dec 2, 2024
1 parent aae74cb commit 54a707c
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,10 @@ public enum SourceType
[JsonPropertyName("shopify")]
Shopify = 8,

/// <summary>
/// Enum Sfcc for value: sfcc
/// </summary>
[JsonPropertyName("sfcc")]
Sfcc = 9,

/// <summary>
/// Enum Push for value: push
/// </summary>
[JsonPropertyName("push")]
Push = 10
Push = 9
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public enum SourceType {

SHOPIFY("shopify"),

SFCC("sfcc"),

PUSH("push");

private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export type SourceType =
| 'ga4BigqueryExport'
| 'json'
| 'shopify'
| 'sfcc'
| 'push';
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ public enum class SourceType(public val value: kotlin.String) {
@SerialName(value = "shopify")
Shopify("shopify"),

@SerialName(value = "sfcc")
Sfcc("sfcc"),

@SerialName(value = "push")
Push("push");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class SourceType

public const SHOPIFY = 'shopify';

public const SFCC = 'sfcc';

public const PUSH = 'push';

/**
Expand All @@ -50,7 +48,6 @@ public static function getAllowableEnumValues()
self::GA4_BIGQUERY_EXPORT,
self::JSON,
self::SHOPIFY,
self::SFCC,
self::PUSH,
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class SourceType(str, Enum):

SHOPIFY = "shopify"

SFCC = "sfcc"

PUSH = "push"

@classmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,10 @@ class SourceType
GA4_BIGQUERY_EXPORT = "ga4BigqueryExport".freeze
JSON = "json".freeze
SHOPIFY = "shopify".freeze
SFCC = "sfcc".freeze
PUSH = "push".freeze

def self.all_vars
@all_vars ||= [
BIGCOMMERCE,
BIGQUERY,
COMMERCETOOLS,
CSV,
DOCKER,
GA4_BIGQUERY_EXPORT,
JSON,
SHOPIFY,
SFCC,
PUSH
].freeze
@all_vars ||= [BIGCOMMERCE, BIGQUERY, COMMERCETOOLS, CSV, DOCKER, GA4_BIGQUERY_EXPORT, JSON, SHOPIFY, PUSH].freeze
end

# Builds the enum from string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,11 @@ object SourceType {
case object Shopify extends SourceType {
override def toString = "shopify"
}
case object Sfcc extends SourceType {
override def toString = "sfcc"
}
case object Push extends SourceType {
override def toString = "push"
}
val values: Seq[SourceType] =
Seq(Bigcommerce, Bigquery, Commercetools, Csv, Docker, Ga4BigqueryExport, Json, Shopify, Sfcc, Push)
Seq(Bigcommerce, Bigquery, Commercetools, Csv, Docker, Ga4BigqueryExport, Json, Shopify, Push)

def withName(name: String): SourceType = SourceType.values
.find(_.toString == name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public enum SourceType: String, Codable, CaseIterable {
case ga4BigqueryExport
case json
case shopify
case sfcc
case push
}

Expand Down
1 change: 0 additions & 1 deletion specs/bundled/ingestion.doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13169,7 +13169,6 @@ components:
- ga4BigqueryExport
- json
- shopify
- sfcc
- push
sourceSortKeys:
type: string
Expand Down
1 change: 0 additions & 1 deletion specs/bundled/ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,6 @@ components:
- ga4BigqueryExport
- json
- shopify
- sfcc
- push
sourceSortKeys:
type: string
Expand Down

0 comments on commit 54a707c

Please sign in to comment.