@forgecart/sdk 1.202607212307.0 → 1.202607281310.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.
package/README.md CHANGED
@@ -56,7 +56,7 @@ const order = await client.shop.cart.addItemToOrder({ variantId, quantity: 1 });
56
56
 
57
57
  ## Namespaces
58
58
 
59
- - `client.admin` — entry, fieldDefinition, publish, acfSchema, acf, administrator, analyticsGateway, asset, audienceMembership, audienceSegment, auth, automation, settings, channel, chat, collection, country, address, group, customerAnalytics, customer, deployment, experiment, facet, fulfillmentRequest, fulfillment, hookDispatch, hook, market, marketingAttribution, marketingEvent, marketingIdentity, mission, onboarding, coupon, draft, modification, note, orderAnalytics, order, payment, manageable, plugin, optionGroup, option, productVariant, product, promotion, role, scheduledJob, search, seller, sellingPlan, shipping, stockAnalytics, stock, storefrontRouteTree, subscriptionAnalytics, subscription, tax, transaction, zone
59
+ - `client.admin` — entry, fieldDefinition, publish, acfSchema, acf, administrator, analyticsGateway, asset, audienceMembership, audienceSegment, auth, automation, settings, channel, chat, collection, country, address, group, customerAnalytics, customer, deployment, designerTask, experiment, facet, fulfillmentRequest, fulfillment, hookDispatch, hook, market, marketingAttribution, marketingEvent, marketingIdentity, mission, onboarding, coupon, draft, modification, note, orderAnalytics, order, payment, manageable, plugin, optionGroup, option, productVariant, product, promotion, role, scheduledJob, search, seller, sellingPlan, shipping, stockAnalytics, stock, storefrontRouteTree, subscriptionAnalytics, subscription, tax, transaction, zone
60
60
  - `client.shop` — acf, auth, cart, channel, checkout, collection, country, customer, experiment, facet, hookDispatch, hook, marketingEvent, marketingIdentity, order, payment, product, search, sellingPlan, shipping, subscription
61
61
 
62
62
  ## NestJS Integration
@@ -1090,7 +1090,6 @@ export type CreateProductVariantInput = {
1090
1090
  dimensions?: InputMaybe<DimensionsInput>;
1091
1091
  featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
1092
1092
  optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1093
- packagePresetId?: InputMaybe<Scalars['ID']['input']>;
1094
1093
  price: Scalars['Int']['input'];
1095
1094
  productId: Scalars['ID']['input'];
1096
1095
  sku?: InputMaybe<Scalars['String']['input']>;
@@ -1210,6 +1209,15 @@ export type CreateStockLocationInput = {
1210
1209
  locationType?: InputMaybe<Scalars['String']['input']>;
1211
1210
  name: Scalars['String']['input'];
1212
1211
  };
1212
+ export type CreateStorefrontPageInput = {
1213
+ routePattern: Scalars['String']['input'];
1214
+ };
1215
+ export type CreateStorefrontPageResult = {
1216
+ routePattern: Scalars['String']['output'];
1217
+ status: CreateStorefrontPageStatus;
1218
+ taskId?: Maybe<Scalars['ID']['output']>;
1219
+ };
1220
+ export type CreateStorefrontPageStatus = 'ALREADY_EXISTS' | 'SCHEDULED';
1213
1221
  export type CreateSubscriptionInput = {
1214
1222
  currencyCode: Scalars['String']['input'];
1215
1223
  customerId: Scalars['ID']['input'];
@@ -1343,6 +1351,15 @@ export type DeleteRoleInput = {
1343
1351
  force?: InputMaybe<Scalars['Boolean']['input']>;
1344
1352
  id: Scalars['ID']['input'];
1345
1353
  };
1354
+ export type DeleteStorefrontPageInput = {
1355
+ routePattern: Scalars['String']['input'];
1356
+ };
1357
+ export type DeleteStorefrontPageResult = {
1358
+ routePattern: Scalars['String']['output'];
1359
+ status: DeleteStorefrontPageStatus;
1360
+ taskId?: Maybe<Scalars['ID']['output']>;
1361
+ };
1362
+ export type DeleteStorefrontPageStatus = 'ALREADY_DELETED' | 'DELETED' | 'SCHEDULED';
1346
1363
  export type DeletionResponse = {
1347
1364
  message?: Maybe<Scalars['String']['output']>;
1348
1365
  result: DeletionResult;
@@ -1383,6 +1400,28 @@ export type DeploymentSummary = {
1383
1400
  url?: Maybe<Scalars['String']['output']>;
1384
1401
  };
1385
1402
  export type DeploymentType = 'application' | 'plugin' | 'storefront';
1403
+ export type DesignerTask = {
1404
+ agentSessionId: Scalars['String']['output'];
1405
+ attempts: Scalars['Int']['output'];
1406
+ createdAt: Scalars['DateTime']['output'];
1407
+ currentTurnId?: Maybe<Scalars['String']['output']>;
1408
+ dispatchedAt?: Maybe<Scalars['DateTime']['output']>;
1409
+ id: Scalars['ID']['output'];
1410
+ kind: DesignerTaskKind;
1411
+ lastAttemptAt?: Maybe<Scalars['DateTime']['output']>;
1412
+ lastError?: Maybe<Scalars['String']['output']>;
1413
+ settledAt?: Maybe<Scalars['DateTime']['output']>;
1414
+ state: DesignerTaskState;
1415
+ subject: Scalars['String']['output'];
1416
+ updatedAt: Scalars['DateTime']['output'];
1417
+ workspaceId: Scalars['ID']['output'];
1418
+ };
1419
+ export type DesignerTaskFeedFrame = {
1420
+ snapshot: Scalars['Boolean']['output'];
1421
+ tasks: Array<DesignerTask>;
1422
+ };
1423
+ export type DesignerTaskKind = 'PAGE_CLEANUP' | 'PAGE_CREATE';
1424
+ export type DesignerTaskState = 'DISMISSED' | 'DISPATCHED' | 'ESCALATED' | 'FAILED' | 'PENDING' | 'RETRYING' | 'RUNNING' | 'SUCCEEDED';
1386
1425
  export type DeviceCodeInfo = {
1387
1426
  apiUrl: Scalars['String']['output'];
1388
1427
  expiresAt: Scalars['DateTime']['output'];
@@ -2198,6 +2237,7 @@ export type Mutation = {
2198
2237
  createShippingLabel: ShippingGatewayLabel;
2199
2238
  createShippingPackagePreset: ShippingPackagePreset;
2200
2239
  createStockLocation: StockLocation;
2240
+ createStorefrontPage: CreateStorefrontPageResult;
2201
2241
  createSubscription: BillingSubscription;
2202
2242
  createSubscriptionVariantConfig: SubscriptionVariantConfig;
2203
2243
  createTaxRate: TaxRate;
@@ -2239,6 +2279,7 @@ export type Mutation = {
2239
2279
  deleteShippingGatewayRoutingRule: Scalars['Boolean']['output'];
2240
2280
  deleteShippingPackagePreset: Scalars['Boolean']['output'];
2241
2281
  deleteStockLocation: DeletionResponse;
2282
+ deleteStorefrontPage: DeleteStorefrontPageResult;
2242
2283
  deleteSubscriptionVariantConfig: SubscriptionVariantConfig;
2243
2284
  deleteTaxRate: DeletionResponse;
2244
2285
  deleteToken: Scalars['Boolean']['output'];
@@ -2247,11 +2288,13 @@ export type Mutation = {
2247
2288
  disableAutomation: Automation;
2248
2289
  disablePlugin: ChannelPlugin;
2249
2290
  disableScheduledJob: ScheduledJob;
2291
+ dismissDesignerTask: DesignerTask;
2250
2292
  emit: Scalars['Boolean']['output'];
2251
2293
  enableAutomation: Automation;
2252
2294
  enablePlugin: ChannelPlugin;
2253
2295
  enableScheduledJob: ScheduledJob;
2254
2296
  enqueueChatMessage: Scalars['Int']['output'];
2297
+ estimateVariantShippingProfile: VariantShippingProfileEstimate;
2255
2298
  evaluateAudienceSegment: AudienceSegmentEvaluationResult;
2256
2299
  generateDeviceCode: DeviceCodeResponse;
2257
2300
  hideShippingPackagePreset: ShippingPackagePreset;
@@ -2306,6 +2349,7 @@ export type Mutation = {
2306
2349
  respondToHookDispatch: Scalars['Boolean']['output'];
2307
2350
  resumeExperiment: Experiment;
2308
2351
  resumeSubscription: BillingSubscription;
2352
+ retryDesignerTask: DesignerTask;
2309
2353
  revertOrderModification: Order;
2310
2354
  rollbackTransaction: DeletionResponse;
2311
2355
  saveToken: PaymentGatewayToken;
@@ -2619,6 +2663,9 @@ export type MutationcreateShippingPackagePresetArgs = {
2619
2663
  export type MutationcreateStockLocationArgs = {
2620
2664
  input: CreateStockLocationInput;
2621
2665
  };
2666
+ export type MutationcreateStorefrontPageArgs = {
2667
+ input: CreateStorefrontPageInput;
2668
+ };
2622
2669
  export type MutationcreateSubscriptionArgs = {
2623
2670
  input: CreateSubscriptionInput;
2624
2671
  };
@@ -2743,6 +2790,9 @@ export type MutationdeleteShippingPackagePresetArgs = {
2743
2790
  export type MutationdeleteStockLocationArgs = {
2744
2791
  id: Scalars['ID']['input'];
2745
2792
  };
2793
+ export type MutationdeleteStorefrontPageArgs = {
2794
+ input: DeleteStorefrontPageInput;
2795
+ };
2746
2796
  export type MutationdeleteSubscriptionVariantConfigArgs = {
2747
2797
  id: Scalars['ID']['input'];
2748
2798
  };
@@ -2767,6 +2817,9 @@ export type MutationdisablePluginArgs = {
2767
2817
  export type MutationdisableScheduledJobArgs = {
2768
2818
  id: Scalars['ID']['input'];
2769
2819
  };
2820
+ export type MutationdismissDesignerTaskArgs = {
2821
+ id: Scalars['ID']['input'];
2822
+ };
2770
2823
  export type MutationemitArgs = {
2771
2824
  input: EmitCustomEventInput;
2772
2825
  };
@@ -2782,6 +2835,9 @@ export type MutationenableScheduledJobArgs = {
2782
2835
  export type MutationenqueueChatMessageArgs = {
2783
2836
  input: EnqueueChatMessageInput;
2784
2837
  };
2838
+ export type MutationestimateVariantShippingProfileArgs = {
2839
+ variantId: Scalars['ID']['input'];
2840
+ };
2785
2841
  export type MutationevaluateAudienceSegmentArgs = {
2786
2842
  id: Scalars['ID']['input'];
2787
2843
  };
@@ -2938,6 +2994,9 @@ export type MutationresumeExperimentArgs = {
2938
2994
  export type MutationresumeSubscriptionArgs = {
2939
2995
  id: Scalars['ID']['input'];
2940
2996
  };
2997
+ export type MutationretryDesignerTaskArgs = {
2998
+ id: Scalars['ID']['input'];
2999
+ };
2941
3000
  export type MutationrevertOrderModificationArgs = {
2942
3001
  input: RevertOrderModificationInput;
2943
3002
  };
@@ -3527,7 +3586,6 @@ export type ProductVariant = {
3527
3586
  name: Scalars['String']['output'];
3528
3587
  options: Array<ProductOption>;
3529
3588
  outOfStockThreshold: Scalars['Int']['output'];
3530
- packagePresetId?: Maybe<Scalars['ID']['output']>;
3531
3589
  price: Scalars['Int']['output'];
3532
3590
  priceWithTax: Scalars['Int']['output'];
3533
3591
  prices: Array<ProductVariantPrice>;
@@ -3681,6 +3739,7 @@ export type Query = {
3681
3739
  deployment?: Maybe<Deployment>;
3682
3740
  deploymentEnv: Array<EnvVar>;
3683
3741
  deployments: Array<Deployment>;
3742
+ designerTasks: Array<DesignerTask>;
3684
3743
  deviceCodeInfo?: Maybe<DeviceCodeInfo>;
3685
3744
  dunningAttempts: Array<DunningAttempt>;
3686
3745
  dunningSchedule?: Maybe<DunningSchedule>;
@@ -4610,8 +4669,9 @@ export type SetSafetyStockInput = {
4610
4669
  variantId: Scalars['ID']['input'];
4611
4670
  };
4612
4671
  export type SetShipmentPackageInput = {
4613
- fulfillmentRequestId: Scalars['ID']['input'];
4672
+ fulfillmentRequestId?: InputMaybe<Scalars['ID']['input']>;
4614
4673
  packagePresetId?: InputMaybe<Scalars['ID']['input']>;
4674
+ rateGroupId?: InputMaybe<Scalars['ID']['input']>;
4615
4675
  };
4616
4676
  export type SetShippingAddressInput = {
4617
4677
  address: CreateAddressInput;
@@ -4931,9 +4991,11 @@ export type Subscription = {
4931
4991
  chatMessageStream: ChatMessage;
4932
4992
  deploymentLogs: DeploymentLogEntry;
4933
4993
  deploymentStatusChanged: Deployment;
4994
+ designerTaskChanged: DesignerTaskFeedFrame;
4934
4995
  fulfillmentStateChanged: FulfillmentStateTransition;
4935
4996
  hookDispatched: HookDispatchEvent;
4936
4997
  resumeChatSession: ChatMessage;
4998
+ storefrontRouteTreeChanged: StorefrontRouteTree;
4937
4999
  workspaceReadiness: WorkspaceReadiness;
4938
5000
  };
4939
5001
  export type SubscriptionchatMessageStreamArgs = {
@@ -5429,7 +5491,6 @@ export type UpdateProductVariantInput = {
5429
5491
  featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
5430
5492
  id: Scalars['ID']['input'];
5431
5493
  optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
5432
- packagePresetId?: InputMaybe<Scalars['ID']['input']>;
5433
5494
  price?: InputMaybe<Scalars['Int']['input']>;
5434
5495
  sku?: InputMaybe<Scalars['String']['input']>;
5435
5496
  stockLevels?: InputMaybe<Array<StockLevelInput>>;
@@ -5610,6 +5671,14 @@ export type UserPreferences = {
5610
5671
  preferredLanguageCode: Scalars['String']['output'];
5611
5672
  preferredTimezone: Scalars['String']['output'];
5612
5673
  };
5674
+ export type VariantShippingProfileEstimate = {
5675
+ heightCm: Scalars['Float']['output'];
5676
+ hsCode?: Maybe<Scalars['String']['output']>;
5677
+ lengthCm: Scalars['Float']['output'];
5678
+ rationale: Scalars['String']['output'];
5679
+ weightGrams: Scalars['Float']['output'];
5680
+ widthCm: Scalars['Float']['output'];
5681
+ };
5613
5682
  export type VariantStockLevel = {
5614
5683
  available: Scalars['Int']['output'];
5615
5684
  safetyStock: Scalars['Int']['output'];
@@ -5640,9 +5709,11 @@ export type WorkspaceReadiness = {
5640
5709
  chatBindingState: WorkspaceBindingStatus;
5641
5710
  endpoint?: Maybe<Scalars['String']['output']>;
5642
5711
  podState?: Maybe<WorkspacePodState>;
5712
+ serverCondition?: Maybe<WorkspaceServerCondition>;
5643
5713
  serverState?: Maybe<WorkspaceServerState>;
5644
5714
  workspaceId?: Maybe<Scalars['ID']['output']>;
5645
5715
  };
5716
+ export type WorkspaceServerCondition = 'DEGRADED' | 'OK';
5646
5717
  export type WorkspaceServerState = 'SERVING' | 'STARTING' | 'UNRESPONSIVE';
5647
5718
  export type WriteOffDamagedStockInput = {
5648
5719
  note?: InputMaybe<Scalars['String']['input']>;
@@ -6645,7 +6716,7 @@ export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | '
6645
6716
  });
6646
6717
  export type ChatHistoryMessageFieldFragment = Pick<ChatHistoryMessage, 'id' | 'role' | 'content' | 'toolUse' | 'toolResult' | 'seq' | 'eventId' | 'timestamp'>;
6647
6718
  export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'lastBackend' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
6648
- export type WorkspaceReadinessFieldFragment = Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
6719
+ export type WorkspaceReadinessFieldFragment = Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'serverCondition' | 'chatBindingState' | 'endpoint'>;
6649
6720
  export type StartChatSessionMutationVariables = Exact<{
6650
6721
  input?: InputMaybe<StartChatSessionInput>;
6651
6722
  }>;
@@ -6719,7 +6790,7 @@ export type WorkspaceReadinessSubscriptionVariables = Exact<{
6719
6790
  [key: string]: never;
6720
6791
  }>;
6721
6792
  export type WorkspaceReadinessSubscription = {
6722
- workspaceReadiness: Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
6793
+ workspaceReadiness: Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'serverCondition' | 'chatBindingState' | 'endpoint'>;
6723
6794
  };
6724
6795
  export type CollectionTranslationFieldFragment = Pick<CollectionTranslation, 'id' | 'languageCode' | 'name' | 'slug' | 'description'>;
6725
6796
  export type CollectionFieldFragment = (Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'slug' | 'description' | 'isPrivate' | 'isRoot' | 'inheritFilters' | 'position' | 'filters' | 'parentId'> & {
@@ -7087,6 +7158,32 @@ export type AdminDeploymentStatusChangedSubscriptionVariables = Exact<{
7087
7158
  export type AdminDeploymentStatusChangedSubscription = {
7088
7159
  deploymentStatusChanged: Pick<Deployment, 'id' | 'type' | 'status' | 'url' | 'errorMessage' | 'instances' | 'lastDeployedAt'>;
7089
7160
  };
7161
+ export type AdminDesignerTasksQueryVariables = Exact<{
7162
+ [key: string]: never;
7163
+ }>;
7164
+ export type AdminDesignerTasksQuery = {
7165
+ designerTasks: Array<Pick<DesignerTask, 'id' | 'workspaceId' | 'kind' | 'subject' | 'state' | 'agentSessionId' | 'currentTurnId' | 'attempts' | 'lastAttemptAt' | 'lastError' | 'dispatchedAt' | 'settledAt' | 'createdAt' | 'updatedAt'>>;
7166
+ };
7167
+ export type AdminRetryDesignerTaskMutationVariables = Exact<{
7168
+ id: Scalars['ID']['input'];
7169
+ }>;
7170
+ export type AdminRetryDesignerTaskMutation = {
7171
+ retryDesignerTask: Pick<DesignerTask, 'id' | 'workspaceId' | 'kind' | 'subject' | 'state' | 'agentSessionId' | 'currentTurnId' | 'attempts' | 'lastAttemptAt' | 'lastError' | 'dispatchedAt' | 'settledAt' | 'createdAt' | 'updatedAt'>;
7172
+ };
7173
+ export type AdminDismissDesignerTaskMutationVariables = Exact<{
7174
+ id: Scalars['ID']['input'];
7175
+ }>;
7176
+ export type AdminDismissDesignerTaskMutation = {
7177
+ dismissDesignerTask: Pick<DesignerTask, 'id' | 'workspaceId' | 'kind' | 'subject' | 'state' | 'agentSessionId' | 'currentTurnId' | 'attempts' | 'lastAttemptAt' | 'lastError' | 'dispatchedAt' | 'settledAt' | 'createdAt' | 'updatedAt'>;
7178
+ };
7179
+ export type AdminDesignerTaskChangedSubscriptionVariables = Exact<{
7180
+ [key: string]: never;
7181
+ }>;
7182
+ export type AdminDesignerTaskChangedSubscription = {
7183
+ designerTaskChanged: (Pick<DesignerTaskFeedFrame, 'snapshot'> & {
7184
+ tasks: Array<Pick<DesignerTask, 'id' | 'workspaceId' | 'kind' | 'subject' | 'state' | 'agentSessionId' | 'currentTurnId' | 'attempts' | 'lastAttemptAt' | 'lastError' | 'dispatchedAt' | 'settledAt' | 'createdAt' | 'updatedAt'>>;
7185
+ });
7186
+ };
7090
7187
  export type AdminExperimentVariantFieldsFragment = Pick<ExperimentVariant, 'id' | 'key' | 'name' | 'weight' | 'position' | 'payload'>;
7091
7188
  export type AdminExperimentPauseIntervalFieldsFragment = Pick<ExperimentPauseInterval, 'id' | 'pausedAt' | 'resumedAt'>;
7092
7189
  export type AdminExperimentFieldsFragment = (Pick<Experiment, 'id' | 'code' | 'name' | 'lifecycle' | 'salt' | 'trafficBps' | 'allowForcedEntry' | 'subjectType' | 'version' | 'goalEventTypes' | 'primaryGoalRevenueWeighted' | 'winnerVariantKey' | 'startedAt' | 'completedAt' | 'createdAt' | 'updatedAt' | 'deletedAt'> & {
@@ -10238,7 +10335,7 @@ export type PluginDeleteManageableMutationVariables = Exact<{
10238
10335
  }>;
10239
10336
  export type PluginDeleteManageableMutation = Pick<Mutation, 'deleteManageablePlugin'>;
10240
10337
  export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
10241
- export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10338
+ export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10242
10339
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10243
10340
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10244
10341
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10260,7 +10357,7 @@ export type AdminProductVariantQueryVariables = Exact<{
10260
10357
  id: Scalars['ID']['input'];
10261
10358
  }>;
10262
10359
  export type AdminProductVariantQuery = {
10263
- productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10360
+ productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10264
10361
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10265
10362
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10266
10363
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10282,7 +10379,7 @@ export type AdminProductVariantsQueryVariables = Exact<{
10282
10379
  productId: Scalars['ID']['input'];
10283
10380
  }>;
10284
10381
  export type AdminProductVariantsQuery = {
10285
- productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10382
+ productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10286
10383
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10287
10384
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10288
10385
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10304,7 +10401,7 @@ export type CreateProductVariantsMutationVariables = Exact<{
10304
10401
  input: Array<CreateProductVariantInput> | CreateProductVariantInput;
10305
10402
  }>;
10306
10403
  export type CreateProductVariantsMutation = {
10307
- createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10404
+ createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10308
10405
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10309
10406
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10310
10407
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10326,7 +10423,7 @@ export type UpdateProductVariantsMutationVariables = Exact<{
10326
10423
  input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
10327
10424
  }>;
10328
10425
  export type UpdateProductVariantsMutation = {
10329
- updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10426
+ updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10330
10427
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10331
10428
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10332
10429
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10362,6 +10459,12 @@ export type DeleteProductVariantPriceMutationVariables = Exact<{
10362
10459
  export type DeleteProductVariantPriceMutation = {
10363
10460
  deleteProductVariantPrice: Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>;
10364
10461
  };
10462
+ export type EstimateVariantShippingProfileMutationVariables = Exact<{
10463
+ variantId: Scalars['ID']['input'];
10464
+ }>;
10465
+ export type EstimateVariantShippingProfileMutation = {
10466
+ estimateVariantShippingProfile: Pick<VariantShippingProfileEstimate, 'lengthCm' | 'widthCm' | 'heightCm' | 'weightGrams' | 'hsCode' | 'rationale'>;
10467
+ };
10365
10468
  export type ProductTranslationFieldFragment = Pick<ProductTranslation, 'id' | 'languageCode' | 'name' | 'slug' | 'description'>;
10366
10469
  export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedAt' | 'enabled' | 'isDigital' | 'trackInventory'> & {
10367
10470
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10379,7 +10482,7 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
10379
10482
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10380
10483
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10381
10484
  })>;
10382
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10485
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10383
10486
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10384
10487
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10385
10488
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10417,7 +10520,7 @@ export type AdminProductQuery = {
10417
10520
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10418
10521
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10419
10522
  })>;
10420
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10523
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10421
10524
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10422
10525
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10423
10526
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10457,7 +10560,7 @@ export type AdminProductsQuery = {
10457
10560
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10458
10561
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10459
10562
  })>;
10460
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10563
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10461
10564
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10462
10565
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10463
10566
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10497,7 +10600,7 @@ export type CreateProductMutation = {
10497
10600
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10498
10601
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10499
10602
  })>;
10500
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10603
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10501
10604
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10502
10605
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10503
10606
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10536,7 +10639,7 @@ export type UpdateProductMutation = {
10536
10639
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10537
10640
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10538
10641
  })>;
10539
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10642
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10540
10643
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10541
10644
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10542
10645
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10581,7 +10684,7 @@ export type AssignProductsToChannelMutation = {
10581
10684
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10582
10685
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10583
10686
  })>;
10584
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10687
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10585
10688
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10586
10689
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10587
10690
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10620,7 +10723,7 @@ export type RemoveProductsFromChannelMutation = {
10620
10723
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10621
10724
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10622
10725
  })>;
10623
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10726
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10624
10727
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10625
10728
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10626
10729
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10706,7 +10809,7 @@ export type AddOptionGroupToProductMutation = {
10706
10809
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10707
10810
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10708
10811
  })>;
10709
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10812
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10710
10813
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10711
10814
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10712
10815
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -10745,7 +10848,7 @@ export type RemoveOptionGroupFromProductMutation = {
10745
10848
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
10746
10849
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
10747
10850
  })>;
10748
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
10851
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
10749
10852
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
10750
10853
  taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
10751
10854
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
@@ -11782,6 +11885,26 @@ export type AdminStorefrontRouteTreeQuery = {
11782
11885
  nodes: Array<Pick<StorefrontRouteNode, 'routePattern' | 'filePath' | 'depth' | 'isDynamic' | 'matchRegex' | 'groups' | 'hasExperimentUsage' | 'experimentKeys'>>;
11783
11886
  });
11784
11887
  };
11888
+ export type AdminDeleteStorefrontPageMutationVariables = Exact<{
11889
+ input: DeleteStorefrontPageInput;
11890
+ }>;
11891
+ export type AdminDeleteStorefrontPageMutation = {
11892
+ deleteStorefrontPage: Pick<DeleteStorefrontPageResult, 'status' | 'taskId' | 'routePattern'>;
11893
+ };
11894
+ export type AdminCreateStorefrontPageMutationVariables = Exact<{
11895
+ input: CreateStorefrontPageInput;
11896
+ }>;
11897
+ export type AdminCreateStorefrontPageMutation = {
11898
+ createStorefrontPage: Pick<CreateStorefrontPageResult, 'status' | 'taskId' | 'routePattern'>;
11899
+ };
11900
+ export type AdminStorefrontRouteTreeChangedSubscriptionVariables = Exact<{
11901
+ [key: string]: never;
11902
+ }>;
11903
+ export type AdminStorefrontRouteTreeChangedSubscription = {
11904
+ storefrontRouteTreeChanged: (Pick<StorefrontRouteTree, 'unattributedExperimentUsages' | 'truncated' | 'extractedAt'> & {
11905
+ nodes: Array<Pick<StorefrontRouteNode, 'routePattern' | 'filePath' | 'depth' | 'isDynamic' | 'matchRegex' | 'groups' | 'hasExperimentUsage' | 'experimentKeys'>>;
11906
+ });
11907
+ };
11785
11908
  export type SubscriptionAnalyticsFieldFragment = (Pick<SubscriptionAnalytics, 'mrr' | 'arpu' | 'churnRate' | 'pastDueAmountAtRisk' | 'pastDueCount' | 'trialsEndingSoonCount'> & {
11786
11909
  statusCounts: Pick<SubscriptionStatusCounts, 'active' | 'trialing' | 'pastDue' | 'paused' | 'cancelled'>;
11787
11910
  revenueByDay: Array<Pick<SubscriptionRevenuePoint, 'date' | 'amount' | 'orderCount'>>;
package/dist/admin.d.ts CHANGED
@@ -21,6 +21,7 @@ export { CustomerAddressCategory } from './admin.generated';
21
21
  export { CustomerGroupCategory } from './admin.generated';
22
22
  export { CustomerAnalyticsCategory } from './admin.generated';
23
23
  export { DeploymentCategory } from './admin.generated';
24
+ export { DesignerTaskCategory } from './admin.generated';
24
25
  export { ExperimentCategory } from './admin.generated';
25
26
  export { FacetCategory } from './admin.generated';
26
27
  export { FulfillmentCategory } from './admin.generated';
@@ -250,6 +250,14 @@ export declare class DeploymentCategory {
250
250
  adminDeploymentLogs(variables: Types.AdminDeploymentLogsSubscriptionVariables): Observable<Types.AdminDeploymentLogsSubscription>;
251
251
  adminDeploymentStatusChanged(variables: Types.AdminDeploymentStatusChangedSubscriptionVariables): Observable<Types.AdminDeploymentStatusChangedSubscription>;
252
252
  }
253
+ export declare class DesignerTaskCategory {
254
+ private readonly client;
255
+ constructor(client: BaseGraphQLClient);
256
+ adminDesignerTasks(): QueryObservable<Types.AdminDesignerTasksQuery>;
257
+ adminRetryDesignerTask(variables: Types.AdminRetryDesignerTaskMutationVariables): QueryObservable<Types.AdminRetryDesignerTaskMutation>;
258
+ adminDismissDesignerTask(variables: Types.AdminDismissDesignerTaskMutationVariables): QueryObservable<Types.AdminDismissDesignerTaskMutation>;
259
+ adminDesignerTaskChanged(): Observable<Types.AdminDesignerTaskChangedSubscription>;
260
+ }
253
261
  export declare class ExperimentCategory {
254
262
  private readonly client;
255
263
  constructor(client: BaseGraphQLClient);
@@ -536,6 +544,7 @@ export declare class ProductVariantCategory {
536
544
  deleteProductVariants(variables: Types.DeleteProductVariantsMutationVariables): QueryObservable<Types.DeleteProductVariantsMutation>;
537
545
  setProductVariantPrice(variables: Types.SetProductVariantPriceMutationVariables): QueryObservable<Types.SetProductVariantPriceMutation>;
538
546
  deleteProductVariantPrice(variables: Types.DeleteProductVariantPriceMutationVariables): QueryObservable<Types.DeleteProductVariantPriceMutation>;
547
+ estimateVariantShippingProfile(variables: Types.EstimateVariantShippingProfileMutationVariables): QueryObservable<Types.EstimateVariantShippingProfileMutation>;
539
548
  }
540
549
  export declare class PromotionCategory {
541
550
  private readonly client;
@@ -676,6 +685,9 @@ export declare class StorefrontRouteTreeCategory {
676
685
  private readonly client;
677
686
  constructor(client: BaseGraphQLClient);
678
687
  adminStorefrontRouteTree(): QueryObservable<Types.AdminStorefrontRouteTreeQuery>;
688
+ adminDeleteStorefrontPage(variables: Types.AdminDeleteStorefrontPageMutationVariables): QueryObservable<Types.AdminDeleteStorefrontPageMutation>;
689
+ adminCreateStorefrontPage(variables: Types.AdminCreateStorefrontPageMutationVariables): QueryObservable<Types.AdminCreateStorefrontPageMutation>;
690
+ adminStorefrontRouteTreeChanged(): Observable<Types.AdminStorefrontRouteTreeChangedSubscription>;
679
691
  }
680
692
  export declare class SubscriptionCategory {
681
693
  private readonly client;
@@ -754,6 +766,7 @@ export declare class AdminNamespace {
754
766
  private readonly _customer;
755
767
  private readonly _customerAnalytics;
756
768
  private readonly _deployment;
769
+ private readonly _designerTask;
757
770
  private readonly _experiment;
758
771
  private readonly _facet;
759
772
  private readonly _fulfillment;
@@ -804,6 +817,7 @@ export declare class AdminNamespace {
804
817
  get customer(): CustomerCategory;
805
818
  get customerAnalytics(): CustomerAnalyticsCategory;
806
819
  get deployment(): DeploymentCategory;
820
+ get designerTask(): DesignerTaskCategory;
807
821
  get experiment(): ExperimentCategory;
808
822
  get facet(): FacetCategory;
809
823
  get fulfillment(): FulfillmentCategory;
@@ -7,8 +7,8 @@
7
7
  * Any manual changes will be overwritten on the next generation run.
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.ScheduledJobCategory = exports.RoleCategory = exports.PromotionCategory = exports.ProductVariantCategory = exports.ProductOptionGroupCategory = exports.ProductOptionCategory = exports.ProductCategory = exports.PluginManageableCategory = exports.PluginCategory = exports.PaymentCategory = exports.OrderAnalyticsCategory = exports.OrderNoteCategory = exports.OrderModificationCategory = exports.OrderDraftCategory = exports.OrderCouponCategory = exports.OrderCategory = exports.OnboardingCategory = exports.MissionCategory = exports.MarketingIdentityCategory = exports.MarketingEventCategory = exports.MarketingAttributionCategory = exports.MarketCategory = exports.HookDispatchCategory = exports.HookCategory = exports.FulfillmentRequestCategory = exports.FulfillmentCategory = exports.FacetCategory = exports.ExperimentCategory = exports.DeploymentCategory = exports.CustomerAnalyticsCategory = exports.CustomerGroupCategory = exports.CustomerAddressCategory = exports.CustomerCategory = exports.CountryCategory = exports.CollectionCategory = exports.ChatCategory = exports.ChannelSettingsCategory = exports.ChannelCategory = exports.AutomationCategory = exports.AuthCategory = exports.AudienceSegmentCategory = exports.AudienceMembershipCategory = exports.AssetCategory = exports.AnalyticsGatewayCategory = exports.AdministratorCategory = exports.AcfSchemaCategory = exports.AcfPublishCategory = exports.AcfFieldDefinitionCategory = exports.AcfEntryCategory = exports.AcfCategory = void 0;
11
- exports.AdminNamespace = exports.ZoneCategory = exports.TransactionCategory = exports.TaxCategory = exports.SubscriptionAnalyticsCategory = exports.SubscriptionCategory = exports.StorefrontRouteTreeCategory = exports.StockAnalyticsCategory = exports.StockCategory = exports.ShippingCategory = exports.SellingPlanCategory = exports.SellerCategory = exports.SearchCategory = void 0;
10
+ exports.RoleCategory = exports.PromotionCategory = exports.ProductVariantCategory = exports.ProductOptionGroupCategory = exports.ProductOptionCategory = exports.ProductCategory = exports.PluginManageableCategory = exports.PluginCategory = exports.PaymentCategory = exports.OrderAnalyticsCategory = exports.OrderNoteCategory = exports.OrderModificationCategory = exports.OrderDraftCategory = exports.OrderCouponCategory = exports.OrderCategory = exports.OnboardingCategory = exports.MissionCategory = exports.MarketingIdentityCategory = exports.MarketingEventCategory = exports.MarketingAttributionCategory = exports.MarketCategory = exports.HookDispatchCategory = exports.HookCategory = exports.FulfillmentRequestCategory = exports.FulfillmentCategory = exports.FacetCategory = exports.ExperimentCategory = exports.DesignerTaskCategory = exports.DeploymentCategory = exports.CustomerAnalyticsCategory = exports.CustomerGroupCategory = exports.CustomerAddressCategory = exports.CustomerCategory = exports.CountryCategory = exports.CollectionCategory = exports.ChatCategory = exports.ChannelSettingsCategory = exports.ChannelCategory = exports.AutomationCategory = exports.AuthCategory = exports.AudienceSegmentCategory = exports.AudienceMembershipCategory = exports.AssetCategory = exports.AnalyticsGatewayCategory = exports.AdministratorCategory = exports.AcfSchemaCategory = exports.AcfPublishCategory = exports.AcfFieldDefinitionCategory = exports.AcfEntryCategory = exports.AcfCategory = void 0;
11
+ exports.AdminNamespace = exports.ZoneCategory = exports.TransactionCategory = exports.TaxCategory = exports.SubscriptionAnalyticsCategory = exports.SubscriptionCategory = exports.StorefrontRouteTreeCategory = exports.StockAnalyticsCategory = exports.StockCategory = exports.ShippingCategory = exports.SellingPlanCategory = exports.SellerCategory = exports.SearchCategory = exports.ScheduledJobCategory = void 0;
12
12
  const documents_generated_1 = require("./documents.generated");
13
13
  class AcfCategory {
14
14
  client;
@@ -620,6 +620,25 @@ class DeploymentCategory {
620
620
  }
621
621
  }
622
622
  exports.DeploymentCategory = DeploymentCategory;
623
+ class DesignerTaskCategory {
624
+ client;
625
+ constructor(client) {
626
+ this.client = client;
627
+ }
628
+ adminDesignerTasks() {
629
+ return this.client.query(documents_generated_1.adminAdminDesignerTasksDocument);
630
+ }
631
+ adminRetryDesignerTask(variables) {
632
+ return this.client.mutate(documents_generated_1.adminAdminRetryDesignerTaskDocument, variables);
633
+ }
634
+ adminDismissDesignerTask(variables) {
635
+ return this.client.mutate(documents_generated_1.adminAdminDismissDesignerTaskDocument, variables);
636
+ }
637
+ adminDesignerTaskChanged() {
638
+ return this.client.subscribe(documents_generated_1.adminAdminDesignerTaskChangedDocument);
639
+ }
640
+ }
641
+ exports.DesignerTaskCategory = DesignerTaskCategory;
623
642
  class ExperimentCategory {
624
643
  client;
625
644
  constructor(client) {
@@ -1347,6 +1366,9 @@ class ProductVariantCategory {
1347
1366
  deleteProductVariantPrice(variables) {
1348
1367
  return this.client.mutate(documents_generated_1.adminDeleteProductVariantPriceDocument, variables);
1349
1368
  }
1369
+ estimateVariantShippingProfile(variables) {
1370
+ return this.client.mutate(documents_generated_1.adminEstimateVariantShippingProfileDocument, variables);
1371
+ }
1350
1372
  }
1351
1373
  exports.ProductVariantCategory = ProductVariantCategory;
1352
1374
  class PromotionCategory {
@@ -1717,6 +1739,15 @@ class StorefrontRouteTreeCategory {
1717
1739
  adminStorefrontRouteTree() {
1718
1740
  return this.client.query(documents_generated_1.adminAdminStorefrontRouteTreeDocument);
1719
1741
  }
1742
+ adminDeleteStorefrontPage(variables) {
1743
+ return this.client.mutate(documents_generated_1.adminAdminDeleteStorefrontPageDocument, variables);
1744
+ }
1745
+ adminCreateStorefrontPage(variables) {
1746
+ return this.client.mutate(documents_generated_1.adminAdminCreateStorefrontPageDocument, variables);
1747
+ }
1748
+ adminStorefrontRouteTreeChanged() {
1749
+ return this.client.subscribe(documents_generated_1.adminAdminStorefrontRouteTreeChangedDocument);
1750
+ }
1720
1751
  }
1721
1752
  exports.StorefrontRouteTreeCategory = StorefrontRouteTreeCategory;
1722
1753
  class SubscriptionCategory {
@@ -1889,6 +1920,7 @@ class AdminNamespace {
1889
1920
  _customer;
1890
1921
  _customerAnalytics;
1891
1922
  _deployment;
1923
+ _designerTask;
1892
1924
  _experiment;
1893
1925
  _facet;
1894
1926
  _fulfillment;
@@ -1940,6 +1972,7 @@ class AdminNamespace {
1940
1972
  this._customer = new CustomerCategory(client);
1941
1973
  this._customerAnalytics = new CustomerAnalyticsCategory(client);
1942
1974
  this._deployment = new DeploymentCategory(client);
1975
+ this._designerTask = new DesignerTaskCategory(client);
1943
1976
  this._experiment = new ExperimentCategory(client);
1944
1977
  this._facet = new FacetCategory(client);
1945
1978
  this._fulfillment = new FulfillmentCategory(client);
@@ -2022,6 +2055,9 @@ class AdminNamespace {
2022
2055
  get deployment() {
2023
2056
  return this._deployment;
2024
2057
  }
2058
+ get designerTask() {
2059
+ return this._designerTask;
2060
+ }
2025
2061
  get experiment() {
2026
2062
  return this._experiment;
2027
2063
  }