@forgecart/sdk 1.202610021701.0 → 1.202610030210.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/dist/admin.generated.d.ts +10 -0
- package/dist/admin.generated.js +25 -5
- package/dist/shop.generated.d.ts +6 -0
- package/dist/shop.generated.js +15 -3
- package/package.json +1 -1
- package/src/admin.generated.ts +25 -5
- package/src/shop.generated.ts +15 -3
|
@@ -53,6 +53,8 @@ export declare class AcfPublishCategory {
|
|
|
53
53
|
constructor(client: BaseGraphQLClient);
|
|
54
54
|
acfPublishHistory(): QueryObservable<Types.AcfPublishHistoryQuery>;
|
|
55
55
|
acfPublish(variables: Types.AcfPublishMutationVariables): QueryObservable<Types.AcfPublishMutation>;
|
|
56
|
+
preview(variables?: Types.AcfPublishPreviewQueryVariables): QueryObservable<Types.AcfPublishPreviewQuery>;
|
|
57
|
+
/** @deprecated Use preview(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
56
58
|
acfPublishPreview(variables?: Types.AcfPublishPreviewQueryVariables): QueryObservable<Types.AcfPublishPreviewQuery>;
|
|
57
59
|
acfConversionDryRun(variables: Types.AcfConversionDryRunQueryVariables): QueryObservable<Types.AcfConversionDryRunQuery>;
|
|
58
60
|
acfProspectiveConversionDryRun(variables: Types.AcfProspectiveConversionDryRunQueryVariables): QueryObservable<Types.AcfProspectiveConversionDryRunQuery>;
|
|
@@ -440,7 +442,11 @@ export declare class GoogleAdsCategory {
|
|
|
440
442
|
export declare class HookCategory {
|
|
441
443
|
private readonly client;
|
|
442
444
|
constructor(client: BaseGraphQLClient);
|
|
445
|
+
listen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription>;
|
|
446
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
443
447
|
hookListen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription>;
|
|
448
|
+
respond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation>;
|
|
449
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
444
450
|
hookRespond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation>;
|
|
445
451
|
emit(variables: Types.EmitMutationVariables): QueryObservable<Types.EmitMutation>;
|
|
446
452
|
}
|
|
@@ -919,7 +925,11 @@ export declare class TransactionCategory {
|
|
|
919
925
|
export declare class WorkspaceDesignSystemCategory {
|
|
920
926
|
private readonly client;
|
|
921
927
|
constructor(client: BaseGraphQLClient);
|
|
928
|
+
retrieve(): QueryObservable<Types.WorkspaceDesignSystemRetrieveQuery>;
|
|
929
|
+
/** @deprecated Use retrieve(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
922
930
|
workspaceDesignSystemRetrieve(): QueryObservable<Types.WorkspaceDesignSystemRetrieveQuery>;
|
|
931
|
+
update(variables: Types.WorkspaceDesignSystemUpdateMutationVariables): QueryObservable<Types.WorkspaceDesignSystemUpdateMutation>;
|
|
932
|
+
/** @deprecated Use update(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
923
933
|
workspaceDesignSystemUpdate(variables: Types.WorkspaceDesignSystemUpdateMutationVariables): QueryObservable<Types.WorkspaceDesignSystemUpdateMutation>;
|
|
924
934
|
}
|
|
925
935
|
export declare class WorkspacePreemptCategory {
|
package/dist/admin.generated.js
CHANGED
|
@@ -123,9 +123,13 @@ class AcfPublishCategory {
|
|
|
123
123
|
acfPublish(variables) {
|
|
124
124
|
return this.client.mutate(documents_generated_1.adminAcfPublishDocument, variables);
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
preview(variables) {
|
|
127
127
|
return this.client.query(documents_generated_1.adminAcfPublishPreviewDocument, variables);
|
|
128
128
|
}
|
|
129
|
+
/** @deprecated Use preview(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
130
|
+
acfPublishPreview(variables) {
|
|
131
|
+
return this.preview(variables);
|
|
132
|
+
}
|
|
129
133
|
acfConversionDryRun(variables) {
|
|
130
134
|
return this.client.query(documents_generated_1.adminAcfConversionDryRunDocument, variables);
|
|
131
135
|
}
|
|
@@ -1111,12 +1115,20 @@ class HookCategory {
|
|
|
1111
1115
|
constructor(client) {
|
|
1112
1116
|
this.client = client;
|
|
1113
1117
|
}
|
|
1114
|
-
|
|
1118
|
+
listen(variables) {
|
|
1115
1119
|
return this.client.subscribe(documents_generated_1.adminHookListenDocument, variables);
|
|
1116
1120
|
}
|
|
1117
|
-
|
|
1121
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
1122
|
+
hookListen(variables) {
|
|
1123
|
+
return this.listen(variables);
|
|
1124
|
+
}
|
|
1125
|
+
respond(variables) {
|
|
1118
1126
|
return this.client.mutate(documents_generated_1.adminHookRespondDocument, variables);
|
|
1119
1127
|
}
|
|
1128
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
1129
|
+
hookRespond(variables) {
|
|
1130
|
+
return this.respond(variables);
|
|
1131
|
+
}
|
|
1120
1132
|
emit(variables) {
|
|
1121
1133
|
return this.client.mutate(documents_generated_1.adminEmitDocument, variables);
|
|
1122
1134
|
}
|
|
@@ -2331,12 +2343,20 @@ class WorkspaceDesignSystemCategory {
|
|
|
2331
2343
|
constructor(client) {
|
|
2332
2344
|
this.client = client;
|
|
2333
2345
|
}
|
|
2334
|
-
|
|
2346
|
+
retrieve() {
|
|
2335
2347
|
return this.client.query(documents_generated_1.adminWorkspaceDesignSystemRetrieveDocument);
|
|
2336
2348
|
}
|
|
2337
|
-
|
|
2349
|
+
/** @deprecated Use retrieve(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
2350
|
+
workspaceDesignSystemRetrieve() {
|
|
2351
|
+
return this.retrieve();
|
|
2352
|
+
}
|
|
2353
|
+
update(variables) {
|
|
2338
2354
|
return this.client.mutate(documents_generated_1.adminWorkspaceDesignSystemUpdateDocument, variables);
|
|
2339
2355
|
}
|
|
2356
|
+
/** @deprecated Use update(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
2357
|
+
workspaceDesignSystemUpdate(variables) {
|
|
2358
|
+
return this.update(variables);
|
|
2359
|
+
}
|
|
2340
2360
|
}
|
|
2341
2361
|
exports.WorkspaceDesignSystemCategory = WorkspaceDesignSystemCategory;
|
|
2342
2362
|
class WorkspacePreemptCategory {
|
package/dist/shop.generated.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export declare class AcfCategory {
|
|
|
22
22
|
export declare class AddressCategory {
|
|
23
23
|
private readonly client;
|
|
24
24
|
constructor(client: BaseGraphQLClient);
|
|
25
|
+
autocomplete(variables: Types.AddressAutocompleteQueryVariables): QueryObservable<Types.AddressAutocompleteQuery>;
|
|
26
|
+
/** @deprecated Use autocomplete(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
25
27
|
addressAutocomplete(variables: Types.AddressAutocompleteQueryVariables): QueryObservable<Types.AddressAutocompleteQuery>;
|
|
26
28
|
addressSuggestion(variables: Types.AddressSuggestionQueryVariables): QueryObservable<Types.AddressSuggestionQuery>;
|
|
27
29
|
}
|
|
@@ -108,7 +110,11 @@ export declare class FacetCategory {
|
|
|
108
110
|
export declare class HookCategory {
|
|
109
111
|
private readonly client;
|
|
110
112
|
constructor(client: BaseGraphQLClient);
|
|
113
|
+
listen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription>;
|
|
114
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
111
115
|
hookListen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription>;
|
|
116
|
+
respond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation>;
|
|
117
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
112
118
|
hookRespond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation>;
|
|
113
119
|
}
|
|
114
120
|
export declare class HookDispatchCategory {
|
package/dist/shop.generated.js
CHANGED
|
@@ -42,9 +42,13 @@ class AddressCategory {
|
|
|
42
42
|
constructor(client) {
|
|
43
43
|
this.client = client;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
autocomplete(variables) {
|
|
46
46
|
return this.client.query(documents_generated_1.shopAddressAutocompleteDocument, variables);
|
|
47
47
|
}
|
|
48
|
+
/** @deprecated Use autocomplete(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
49
|
+
addressAutocomplete(variables) {
|
|
50
|
+
return this.autocomplete(variables);
|
|
51
|
+
}
|
|
48
52
|
addressSuggestion(variables) {
|
|
49
53
|
return this.client.query(documents_generated_1.shopAddressSuggestionDocument, variables);
|
|
50
54
|
}
|
|
@@ -250,12 +254,20 @@ class HookCategory {
|
|
|
250
254
|
constructor(client) {
|
|
251
255
|
this.client = client;
|
|
252
256
|
}
|
|
253
|
-
|
|
257
|
+
listen(variables) {
|
|
254
258
|
return this.client.subscribe(documents_generated_1.shopHookListenDocument, variables);
|
|
255
259
|
}
|
|
256
|
-
|
|
260
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
261
|
+
hookListen(variables) {
|
|
262
|
+
return this.listen(variables);
|
|
263
|
+
}
|
|
264
|
+
respond(variables) {
|
|
257
265
|
return this.client.mutate(documents_generated_1.shopHookRespondDocument, variables);
|
|
258
266
|
}
|
|
267
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
268
|
+
hookRespond(variables) {
|
|
269
|
+
return this.respond(variables);
|
|
270
|
+
}
|
|
259
271
|
}
|
|
260
272
|
exports.HookCategory = HookCategory;
|
|
261
273
|
class HookDispatchCategory {
|
package/package.json
CHANGED
package/src/admin.generated.ts
CHANGED
|
@@ -119,9 +119,13 @@ export class AcfPublishCategory {
|
|
|
119
119
|
acfPublish(variables: Types.AcfPublishMutationVariables): QueryObservable<Types.AcfPublishMutation> {
|
|
120
120
|
return this.client.mutate<Types.AcfPublishMutation>(adminAcfPublishDocument, variables);
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
preview(variables?: Types.AcfPublishPreviewQueryVariables): QueryObservable<Types.AcfPublishPreviewQuery> {
|
|
123
123
|
return this.client.query<Types.AcfPublishPreviewQuery>(adminAcfPublishPreviewDocument, variables);
|
|
124
124
|
}
|
|
125
|
+
/** @deprecated Use preview(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
126
|
+
acfPublishPreview(variables?: Types.AcfPublishPreviewQueryVariables): QueryObservable<Types.AcfPublishPreviewQuery> {
|
|
127
|
+
return this.preview(variables);
|
|
128
|
+
}
|
|
125
129
|
acfConversionDryRun(variables: Types.AcfConversionDryRunQueryVariables): QueryObservable<Types.AcfConversionDryRunQuery> {
|
|
126
130
|
return this.client.query<Types.AcfConversionDryRunQuery>(adminAcfConversionDryRunDocument, variables);
|
|
127
131
|
}
|
|
@@ -1041,12 +1045,20 @@ export class GoogleAdsCategory {
|
|
|
1041
1045
|
export class HookCategory {
|
|
1042
1046
|
constructor(private readonly client: BaseGraphQLClient) {}
|
|
1043
1047
|
|
|
1044
|
-
|
|
1048
|
+
listen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription> {
|
|
1045
1049
|
return this.client.subscribe<Types.HookListenSubscription>(adminHookListenDocument, variables);
|
|
1046
1050
|
}
|
|
1047
|
-
|
|
1051
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
1052
|
+
hookListen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription> {
|
|
1053
|
+
return this.listen(variables);
|
|
1054
|
+
}
|
|
1055
|
+
respond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation> {
|
|
1048
1056
|
return this.client.mutate<Types.HookRespondMutation>(adminHookRespondDocument, variables);
|
|
1049
1057
|
}
|
|
1058
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
1059
|
+
hookRespond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation> {
|
|
1060
|
+
return this.respond(variables);
|
|
1061
|
+
}
|
|
1050
1062
|
emit(variables: Types.EmitMutationVariables): QueryObservable<Types.EmitMutation> {
|
|
1051
1063
|
return this.client.mutate<Types.EmitMutation>(adminEmitDocument, variables);
|
|
1052
1064
|
}
|
|
@@ -2180,12 +2192,20 @@ export class TransactionCategory {
|
|
|
2180
2192
|
export class WorkspaceDesignSystemCategory {
|
|
2181
2193
|
constructor(private readonly client: BaseGraphQLClient) {}
|
|
2182
2194
|
|
|
2183
|
-
|
|
2195
|
+
retrieve(): QueryObservable<Types.WorkspaceDesignSystemRetrieveQuery> {
|
|
2184
2196
|
return this.client.query<Types.WorkspaceDesignSystemRetrieveQuery>(adminWorkspaceDesignSystemRetrieveDocument);
|
|
2185
2197
|
}
|
|
2186
|
-
|
|
2198
|
+
/** @deprecated Use retrieve(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
2199
|
+
workspaceDesignSystemRetrieve(): QueryObservable<Types.WorkspaceDesignSystemRetrieveQuery> {
|
|
2200
|
+
return this.retrieve();
|
|
2201
|
+
}
|
|
2202
|
+
update(variables: Types.WorkspaceDesignSystemUpdateMutationVariables): QueryObservable<Types.WorkspaceDesignSystemUpdateMutation> {
|
|
2187
2203
|
return this.client.mutate<Types.WorkspaceDesignSystemUpdateMutation>(adminWorkspaceDesignSystemUpdateDocument, variables);
|
|
2188
2204
|
}
|
|
2205
|
+
/** @deprecated Use update(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
2206
|
+
workspaceDesignSystemUpdate(variables: Types.WorkspaceDesignSystemUpdateMutationVariables): QueryObservable<Types.WorkspaceDesignSystemUpdateMutation> {
|
|
2207
|
+
return this.update(variables);
|
|
2208
|
+
}
|
|
2189
2209
|
}
|
|
2190
2210
|
|
|
2191
2211
|
export class WorkspacePreemptCategory {
|
package/src/shop.generated.ts
CHANGED
|
@@ -42,9 +42,13 @@ export class AcfCategory {
|
|
|
42
42
|
export class AddressCategory {
|
|
43
43
|
constructor(private readonly client: BaseGraphQLClient) {}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
autocomplete(variables: Types.AddressAutocompleteQueryVariables): QueryObservable<Types.AddressAutocompleteQuery> {
|
|
46
46
|
return this.client.query<Types.AddressAutocompleteQuery>(shopAddressAutocompleteDocument, variables);
|
|
47
47
|
}
|
|
48
|
+
/** @deprecated Use autocomplete(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
49
|
+
addressAutocomplete(variables: Types.AddressAutocompleteQueryVariables): QueryObservable<Types.AddressAutocompleteQuery> {
|
|
50
|
+
return this.autocomplete(variables);
|
|
51
|
+
}
|
|
48
52
|
addressSuggestion(variables: Types.AddressSuggestionQueryVariables): QueryObservable<Types.AddressSuggestionQuery> {
|
|
49
53
|
return this.client.query<Types.AddressSuggestionQuery>(shopAddressSuggestionDocument, variables);
|
|
50
54
|
}
|
|
@@ -230,12 +234,20 @@ export class FacetCategory {
|
|
|
230
234
|
export class HookCategory {
|
|
231
235
|
constructor(private readonly client: BaseGraphQLClient) {}
|
|
232
236
|
|
|
233
|
-
|
|
237
|
+
listen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription> {
|
|
234
238
|
return this.client.subscribe<Types.HookListenSubscription>(shopHookListenDocument, variables);
|
|
235
239
|
}
|
|
236
|
-
|
|
240
|
+
/** @deprecated Use listen(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
241
|
+
hookListen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription> {
|
|
242
|
+
return this.listen(variables);
|
|
243
|
+
}
|
|
244
|
+
respond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation> {
|
|
237
245
|
return this.client.mutate<Types.HookRespondMutation>(shopHookRespondDocument, variables);
|
|
238
246
|
}
|
|
247
|
+
/** @deprecated Use respond(). Removed in @forgecart/client-sdk 2.0.0 (S-final #2755) */
|
|
248
|
+
hookRespond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation> {
|
|
249
|
+
return this.respond(variables);
|
|
250
|
+
}
|
|
239
251
|
}
|
|
240
252
|
|
|
241
253
|
export class HookDispatchCategory {
|