@forgecart/sdk 1.202609240732.0 → 1.202609241110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1653,7 +1653,7 @@ export type CreateManageablePluginInput = {
1653
1653
  description: Scalars['String']['input'];
1654
1654
  imageUrl?: InputMaybe<Scalars['String']['input']>;
1655
1655
  name: Scalars['String']['input'];
1656
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
1656
+ tags?: InputMaybe<Array<PluginTag>>;
1657
1657
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
1658
1658
  };
1659
1659
  export type CreateMarketInput = {
@@ -2902,7 +2902,7 @@ export type ManageablePlugin = {
2902
2902
  id: Scalars['ID']['output'];
2903
2903
  imageUrl?: Maybe<Scalars['String']['output']>;
2904
2904
  name: Scalars['String']['output'];
2905
- tags: Array<Scalars['String']['output']>;
2905
+ tags: Array<PluginTag>;
2906
2906
  toggable: Scalars['Boolean']['output'];
2907
2907
  updatedAt: Scalars['DateTime']['output'];
2908
2908
  webhookPath?: Maybe<Scalars['String']['output']>;
@@ -5052,6 +5052,15 @@ export type PluginConnectionsFilterInput = {
5052
5052
  capability: Scalars['String']['input'];
5053
5053
  };
5054
5054
  export type PluginStatus = 'DISABLED' | 'ENABLED' | 'INPROGRESS';
5055
+ /**
5056
+ * The CLOSED catalog taxonomy (#289): one value per product category the plugin
5057
+ * catalog groups by. A tag says WHAT a plugin is — never a vendor, a synonym or a
5058
+ * descriptor, which the plugin's name and description already carry. The values
5059
+ * are the stored `manageable_plugin_tags.tag` strings and core's `PluginTag`
5060
+ * verbatim; the schema refuses any other value before execution. Adding a
5061
+ * category is an epic-level decision, never a manifest edit.
5062
+ */
5063
+ export type PluginTag = 'ads' | 'analytics' | 'ecom' | 'payment' | 'seo' | 'shipping' | 'tax';
5055
5064
  export type PreemptWorkspaceInput = {
5056
5065
  reason: Scalars['String']['input'];
5057
5066
  workspaceId: Scalars['ID']['input'];
@@ -5742,7 +5751,7 @@ export type QuerymanageablePluginArgs = {
5742
5751
  code: Scalars['String']['input'];
5743
5752
  };
5744
5753
  export type QuerymanageablePluginsByTagArgs = {
5745
- tag: Scalars['String']['input'];
5754
+ tag: PluginTag;
5746
5755
  };
5747
5756
  export type QuerymarketingCampaignArgs = {
5748
5757
  id: Scalars['ID']['input'];
@@ -15388,7 +15397,7 @@ export type ConfigurationItemValueQueryVariables = Exact<{
15388
15397
  }>;
15389
15398
  export type ConfigurationItemValueQuery = Pick<Query, 'configurationItemValue'>;
15390
15399
  export type ManageablePluginsByTagQueryVariables = Exact<{
15391
- tag: Scalars['String']['input'];
15400
+ tag: PluginTag;
15392
15401
  }>;
15393
15402
  export type ManageablePluginsByTagQuery = {
15394
15403
  manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags' | 'connectMode'> & {
@@ -15482,7 +15491,7 @@ export type PluginManageableQuery = {
15482
15491
  })>;
15483
15492
  };
15484
15493
  export type PluginByTagManageableQueryVariables = Exact<{
15485
- tag: Scalars['String']['input'];
15494
+ tag: PluginTag;
15486
15495
  }>;
15487
15496
  export type PluginByTagManageableQuery = {
15488
15497
  manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags' | 'connectMode'> & {
@@ -377,7 +377,7 @@ export declare const adminGetSessionTemplateDocument = "query GetSessionTemplate
377
377
  export declare const adminGetSessionVariablesDocument = "query GetSessionVariables($orderId: ID!, $providerCode: String!) {\n getSessionVariables(orderId: $orderId, providerCode: $providerCode) {\n providerCode\n publishableKey\n scriptUrl\n amount\n currency\n config\n }\n}";
378
378
  export declare const adminPluginManageablesDocument = "query PluginManageables {\n manageablePlugins {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
379
379
  export declare const adminPluginManageableDocument = "query PluginManageable($code: String!) {\n manageablePlugin(code: $code) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
380
- export declare const adminPluginByTagManageableDocument = "query PluginByTagManageable($tag: String!) {\n manageablePluginsByTag(tag: $tag) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
380
+ export declare const adminPluginByTagManageableDocument = "query PluginByTagManageable($tag: PluginTag!) {\n manageablePluginsByTag(tag: $tag) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
381
381
  export declare const adminPluginCreateManageableDocument = "mutation PluginCreateManageable($input: CreateManageablePluginInput!) {\n createManageablePlugin(input: $input) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
382
382
  export declare const adminPluginUpdateManageableDocument = "mutation PluginUpdateManageable($input: UpdateManageablePluginInput!) {\n updateManageablePlugin(input: $input) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
383
383
  export declare const adminPluginDeleteManageableDocument = "mutation PluginDeleteManageable($id: ID!) {\n deleteManageablePlugin(id: $id)\n}";
@@ -395,7 +395,7 @@ export declare const adminChannelPluginsDocument = "query ChannelPlugins {\n ch
395
395
  export declare const adminPluginConfigurationDocument = "query PluginConfiguration($id: ID!) {\n pluginConfiguration(id: $id)\n}";
396
396
  export declare const adminConfigurationItemsDocument = "query ConfigurationItems($pluginId: ID!) {\n configurationItems(pluginId: $pluginId) {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
397
397
  export declare const adminConfigurationItemValueDocument = "query ConfigurationItemValue($input: ConfigurationItemValueInput!) {\n configurationItemValue(input: $input)\n}";
398
- export declare const adminManageablePluginsByTagDocument = "query ManageablePluginsByTag($tag: String!) {\n manageablePluginsByTag(tag: $tag) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
398
+ export declare const adminManageablePluginsByTagDocument = "query ManageablePluginsByTag($tag: PluginTag!) {\n manageablePluginsByTag(tag: $tag) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
399
399
  export declare const adminCreateManageablePluginDocument = "mutation CreateManageablePlugin($input: CreateManageablePluginInput!) {\n createManageablePlugin(input: $input) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
400
400
  export declare const adminUpdateManageablePluginDocument = "mutation UpdateManageablePlugin($input: UpdateManageablePluginInput!) {\n updateManageablePlugin(input: $input) {\n ...ManageablePluginFields\n }\n}\n\nfragment ManageablePluginFields on ManageablePlugin {\n id\n createdAt\n updatedAt\n name\n code\n description\n imageUrl\n toggable\n webhookPath\n webhookSigned\n tags\n connectMode\n configItems {\n id\n code\n type\n secret\n translations {\n id\n languageCode\n name\n }\n }\n}";
401
401
  export declare const adminDeleteManageablePluginDocument = "mutation DeleteManageablePlugin($id: ID!) {\n deleteManageablePlugin(id: $id)\n}";
@@ -20825,7 +20825,7 @@ fragment ManageablePluginFields on ManageablePlugin {
20825
20825
  }
20826
20826
  }
20827
20827
  }`;
20828
- exports.adminPluginByTagManageableDocument = `query PluginByTagManageable($tag: String!) {
20828
+ exports.adminPluginByTagManageableDocument = `query PluginByTagManageable($tag: PluginTag!) {
20829
20829
  manageablePluginsByTag(tag: $tag) {
20830
20830
  ...ManageablePluginFields
20831
20831
  }
@@ -21286,7 +21286,7 @@ exports.adminConfigurationItemsDocument = `query ConfigurationItems($pluginId: I
21286
21286
  exports.adminConfigurationItemValueDocument = `query ConfigurationItemValue($input: ConfigurationItemValueInput!) {
21287
21287
  configurationItemValue(input: $input)
21288
21288
  }`;
21289
- exports.adminManageablePluginsByTagDocument = `query ManageablePluginsByTag($tag: String!) {
21289
+ exports.adminManageablePluginsByTagDocument = `query ManageablePluginsByTag($tag: PluginTag!) {
21290
21290
  manageablePluginsByTag(tag: $tag) {
21291
21291
  ...ManageablePluginFields
21292
21292
  }
@@ -1446,7 +1446,7 @@ export type CreateManageablePluginInput = {
1446
1446
  description: Scalars['String']['input'];
1447
1447
  imageUrl?: InputMaybe<Scalars['String']['input']>;
1448
1448
  name: Scalars['String']['input'];
1449
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
1449
+ tags?: InputMaybe<Array<PluginTag>>;
1450
1450
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
1451
1451
  };
1452
1452
  export type CreateMarketInput = {
@@ -2455,7 +2455,7 @@ export type ManageablePlugin = {
2455
2455
  id: Scalars['ID']['output'];
2456
2456
  imageUrl?: Maybe<Scalars['String']['output']>;
2457
2457
  name: Scalars['String']['output'];
2458
- tags: Array<Scalars['String']['output']>;
2458
+ tags: Array<PluginTag>;
2459
2459
  toggable: Scalars['Boolean']['output'];
2460
2460
  updatedAt: Scalars['DateTime']['output'];
2461
2461
  webhookPath?: Maybe<Scalars['String']['output']>;
@@ -3331,6 +3331,15 @@ export type PluginConnectionsFilterInput = {
3331
3331
  capability: Scalars['String']['input'];
3332
3332
  };
3333
3333
  export type PluginStatus = 'DISABLED' | 'ENABLED' | 'INPROGRESS';
3334
+ /**
3335
+ * The CLOSED catalog taxonomy (#289): one value per product category the plugin
3336
+ * catalog groups by. A tag says WHAT a plugin is — never a vendor, a synonym or a
3337
+ * descriptor, which the plugin's name and description already carry. The values
3338
+ * are the stored `manageable_plugin_tags.tag` strings and core's `PluginTag`
3339
+ * verbatim; the schema refuses any other value before execution. Adding a
3340
+ * category is an epic-level decision, never a manifest edit.
3341
+ */
3342
+ export type PluginTag = 'ads' | 'analytics' | 'ecom' | 'payment' | 'seo' | 'shipping' | 'tax';
3334
3343
  export type PricingPolicy = 'fixed_amount' | 'none' | 'percentage';
3335
3344
  export type Product = {
3336
3345
  assets: Array<Asset>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgecart/sdk",
3
- "version": "1.202609240732.0",
3
+ "version": "1.202609241110.0",
4
4
  "description": "ForgeCart Client SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1979,7 +1979,7 @@ export type CreateManageablePluginInput = {
1979
1979
  description: Scalars['String']['input'];
1980
1980
  imageUrl?: InputMaybe<Scalars['String']['input']>;
1981
1981
  name: Scalars['String']['input'];
1982
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
1982
+ tags?: InputMaybe<Array<PluginTag>>;
1983
1983
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
1984
1984
  };
1985
1985
 
@@ -3498,7 +3498,7 @@ export type ManageablePlugin = {
3498
3498
  id: Scalars['ID']['output'];
3499
3499
  imageUrl?: Maybe<Scalars['String']['output']>;
3500
3500
  name: Scalars['String']['output'];
3501
- tags: Array<Scalars['String']['output']>;
3501
+ tags: Array<PluginTag>;
3502
3502
  toggable: Scalars['Boolean']['output'];
3503
3503
  updatedAt: Scalars['DateTime']['output'];
3504
3504
  webhookPath?: Maybe<Scalars['String']['output']>;
@@ -6475,6 +6475,23 @@ export type PluginStatus =
6475
6475
  | 'ENABLED'
6476
6476
  | 'INPROGRESS';
6477
6477
 
6478
+ /**
6479
+ * The CLOSED catalog taxonomy (#289): one value per product category the plugin
6480
+ * catalog groups by. A tag says WHAT a plugin is — never a vendor, a synonym or a
6481
+ * descriptor, which the plugin's name and description already carry. The values
6482
+ * are the stored `manageable_plugin_tags.tag` strings and core's `PluginTag`
6483
+ * verbatim; the schema refuses any other value before execution. Adding a
6484
+ * category is an epic-level decision, never a manifest edit.
6485
+ */
6486
+ export type PluginTag =
6487
+ | 'ads'
6488
+ | 'analytics'
6489
+ | 'ecom'
6490
+ | 'payment'
6491
+ | 'seo'
6492
+ | 'shipping'
6493
+ | 'tax';
6494
+
6478
6495
  export type PreemptWorkspaceInput = {
6479
6496
  reason: Scalars['String']['input'];
6480
6497
  workspaceId: Scalars['ID']['input'];
@@ -7374,7 +7391,7 @@ export type QuerymanageablePluginArgs = {
7374
7391
 
7375
7392
 
7376
7393
  export type QuerymanageablePluginsByTagArgs = {
7377
- tag: Scalars['String']['input'];
7394
+ tag: PluginTag;
7378
7395
  };
7379
7396
 
7380
7397
 
@@ -41334,7 +41351,7 @@ export type ConfigurationItemValueQueryVariables = Exact<{
41334
41351
  export type ConfigurationItemValueQuery = Pick<Query, 'configurationItemValue'>;
41335
41352
 
41336
41353
  export type ManageablePluginsByTagQueryVariables = Exact<{
41337
- tag: Scalars['String']['input'];
41354
+ tag: PluginTag;
41338
41355
  }>;
41339
41356
 
41340
41357
 
@@ -41642,7 +41659,7 @@ export type PluginManageableQuery = { manageablePlugin?: Maybe<(
41642
41659
  )> };
41643
41660
 
41644
41661
  export type PluginByTagManageableQueryVariables = Exact<{
41645
- tag: Scalars['String']['input'];
41662
+ tag: PluginTag;
41646
41663
  }>;
41647
41664
 
41648
41665
 
@@ -21183,7 +21183,7 @@ fragment ManageablePluginFields on ManageablePlugin {
21183
21183
  }
21184
21184
  }`;
21185
21185
 
21186
- export const adminPluginByTagManageableDocument = `query PluginByTagManageable($tag: String!) {
21186
+ export const adminPluginByTagManageableDocument = `query PluginByTagManageable($tag: PluginTag!) {
21187
21187
  manageablePluginsByTag(tag: $tag) {
21188
21188
  ...ManageablePluginFields
21189
21189
  }
@@ -21662,7 +21662,7 @@ export const adminConfigurationItemValueDocument = `query ConfigurationItemValue
21662
21662
  configurationItemValue(input: $input)
21663
21663
  }`;
21664
21664
 
21665
- export const adminManageablePluginsByTagDocument = `query ManageablePluginsByTag($tag: String!) {
21665
+ export const adminManageablePluginsByTagDocument = `query ManageablePluginsByTag($tag: PluginTag!) {
21666
21666
  manageablePluginsByTag(tag: $tag) {
21667
21667
  ...ManageablePluginFields
21668
21668
  }
@@ -1713,7 +1713,7 @@ export type CreateManageablePluginInput = {
1713
1713
  description: Scalars['String']['input'];
1714
1714
  imageUrl?: InputMaybe<Scalars['String']['input']>;
1715
1715
  name: Scalars['String']['input'];
1716
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
1716
+ tags?: InputMaybe<Array<PluginTag>>;
1717
1717
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
1718
1718
  };
1719
1719
 
@@ -2919,7 +2919,7 @@ export type ManageablePlugin = {
2919
2919
  id: Scalars['ID']['output'];
2920
2920
  imageUrl?: Maybe<Scalars['String']['output']>;
2921
2921
  name: Scalars['String']['output'];
2922
- tags: Array<Scalars['String']['output']>;
2922
+ tags: Array<PluginTag>;
2923
2923
  toggable: Scalars['Boolean']['output'];
2924
2924
  updatedAt: Scalars['DateTime']['output'];
2925
2925
  webhookPath?: Maybe<Scalars['String']['output']>;
@@ -4010,6 +4010,23 @@ export type PluginStatus =
4010
4010
  | 'ENABLED'
4011
4011
  | 'INPROGRESS';
4012
4012
 
4013
+ /**
4014
+ * The CLOSED catalog taxonomy (#289): one value per product category the plugin
4015
+ * catalog groups by. A tag says WHAT a plugin is — never a vendor, a synonym or a
4016
+ * descriptor, which the plugin's name and description already carry. The values
4017
+ * are the stored `manageable_plugin_tags.tag` strings and core's `PluginTag`
4018
+ * verbatim; the schema refuses any other value before execution. Adding a
4019
+ * category is an epic-level decision, never a manifest edit.
4020
+ */
4021
+ export type PluginTag =
4022
+ | 'ads'
4023
+ | 'analytics'
4024
+ | 'ecom'
4025
+ | 'payment'
4026
+ | 'seo'
4027
+ | 'shipping'
4028
+ | 'tax';
4029
+
4013
4030
  export type PricingPolicy =
4014
4031
  | 'fixed_amount'
4015
4032
  | 'none'