@inverted-tech/fragments 0.11.2 → 0.12.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.
Files changed (60) hide show
  1. package/dist/esm/Authentication/UserInterface_pb.js +11 -1
  2. package/dist/esm/Authentication/connect/UserInterface_connect.js +9 -0
  3. package/dist/esm/Authorization/Payment/SharedTypes_pb.js +17 -5
  4. package/dist/esm/Authorization/Payment/Stripe/StripeInterface_pb.js +9 -101
  5. package/dist/esm/Authorization/Payment/Stripe/connect/StripeInterface_connect.js +0 -2
  6. package/dist/esm/Authorization/Payment/Tax/BackupInterface_pb.js +73 -0
  7. package/dist/esm/Authorization/Payment/Tax/TaxRecords_pb.js +13 -0
  8. package/dist/esm/Authorization/Payment/Tax/connect/BackupInterface_connect.js +37 -0
  9. package/dist/esm/Authorization/Payment/Tax/connect/index.js +2 -0
  10. package/dist/esm/Authorization/Payment/Tax/index.js +4 -0
  11. package/dist/esm/Authorization/Payment/index.js +1 -0
  12. package/dist/esm/Content/Content_pb.js +36 -31
  13. package/dist/esm/Content/connect/Content_connect.js +9 -0
  14. package/dist/esm/Merch/AdminMerchInterface_pb.js +44 -0
  15. package/dist/esm/Merch/GenericMerchRecords_pb.js +30 -0
  16. package/dist/esm/Merch/MerchInterface_pb.js +40 -0
  17. package/dist/esm/Merch/MerchSettings_pb.js +25 -0
  18. package/dist/esm/Merch/SharedMerchTypes_pb.js +73 -0
  19. package/dist/esm/Merch/Shopify/ShopifySettings_pb.js +29 -0
  20. package/dist/esm/Merch/Shopify/index.js +2 -0
  21. package/dist/esm/Merch/connect/AdminMerchInterface_connect.js +40 -0
  22. package/dist/esm/Merch/connect/MerchInterface_connect.js +31 -0
  23. package/dist/esm/Merch/connect/index.js +3 -0
  24. package/dist/esm/Merch/index.js +8 -0
  25. package/dist/esm/Settings/SettingsInterface_pb.js +22 -1
  26. package/dist/esm/Settings/SettingsRecord_pb.js +2 -1
  27. package/dist/esm/Settings/connect/SettingsInterface_connect.js +18 -0
  28. package/dist/esm/api.js +1 -0
  29. package/dist/esm/google/api/http_pb.js +1 -1
  30. package/dist/esm/index.js +1 -0
  31. package/dist/protos/Authentication/UserInterface_pb.d.ts +40 -4
  32. package/dist/protos/Authentication/connect/UserInterface_connect.d.ts +9 -0
  33. package/dist/protos/Authorization/Payment/SharedTypes_pb.d.ts +16 -4
  34. package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +15 -287
  35. package/dist/protos/Authorization/Payment/Stripe/connect/StripeInterface_connect.d.ts +0 -2
  36. package/dist/protos/Authorization/Payment/Tax/BackupInterface_pb.d.ts +199 -0
  37. package/dist/protos/Authorization/Payment/Tax/TaxRecords_pb.d.ts +42 -0
  38. package/dist/protos/Authorization/Payment/Tax/connect/BackupInterface_connect.d.ts +32 -0
  39. package/dist/protos/Authorization/Payment/Tax/connect/index.d.ts +1 -0
  40. package/dist/protos/Authorization/Payment/Tax/index.d.ts +3 -0
  41. package/dist/protos/Authorization/Payment/index.d.ts +1 -0
  42. package/dist/protos/Content/Content_pb.d.ts +23 -1
  43. package/dist/protos/Content/connect/Content_connect.d.ts +9 -0
  44. package/dist/protos/Merch/AdminMerchInterface_pb.d.ts +115 -0
  45. package/dist/protos/Merch/GenericMerchRecords_pb.d.ts +180 -0
  46. package/dist/protos/Merch/MerchInterface_pb.d.ts +143 -0
  47. package/dist/protos/Merch/MerchSettings_pb.d.ts +49 -0
  48. package/dist/protos/Merch/SharedMerchTypes_pb.d.ts +118 -0
  49. package/dist/protos/Merch/Shopify/ShopifySettings_pb.d.ts +73 -0
  50. package/dist/protos/Merch/Shopify/index.d.ts +1 -0
  51. package/dist/protos/Merch/connect/AdminMerchInterface_connect.d.ts +35 -0
  52. package/dist/protos/Merch/connect/MerchInterface_connect.d.ts +26 -0
  53. package/dist/protos/Merch/connect/index.d.ts +2 -0
  54. package/dist/protos/Merch/index.d.ts +7 -0
  55. package/dist/protos/Settings/SettingsInterface_pb.d.ts +73 -0
  56. package/dist/protos/Settings/SettingsRecord_pb.d.ts +13 -0
  57. package/dist/protos/Settings/connect/SettingsInterface_connect.d.ts +18 -0
  58. package/dist/protos/api.d.ts +2 -0
  59. package/dist/protos/index.d.ts +1 -0
  60. package/package.json +13 -170
@@ -1,6 +1,4 @@
1
1
  /**
2
- * rpc StripeCheckOtherSubscription (StripeCheckOtherSubscriptionRequest) returns (StripeCheckOtherSubscriptionResponse) {}
3
- *
4
2
  * @generated from service IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeInterface
5
3
  */
6
4
  export declare const StripeInterface: {
@@ -0,0 +1,199 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { SalesTaxByPostalCodeRecord } from "./TaxRecords_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Tax/BackupInterface.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_Tax_BackupInterface: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest
10
+ */
11
+ export type BackupAllDataRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest"> & {
12
+ /**
13
+ * @generated from field: string ClientPublicJwk = 1;
14
+ */
15
+ ClientPublicJwk: string;
16
+ };
17
+ /**
18
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest.
19
+ * Use `create(BackupAllDataRequestSchema)` to create a new message.
20
+ */
21
+ export declare const BackupAllDataRequestSchema: GenMessage<BackupAllDataRequest>;
22
+ /**
23
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse
24
+ */
25
+ export type BackupAllDataResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse"> & {
26
+ /**
27
+ * @generated from oneof IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse.Response_oneof
28
+ */
29
+ ResponseOneof: {
30
+ /**
31
+ * @generated from field: string ServerPublicJwk = 1;
32
+ */
33
+ value: string;
34
+ case: "ServerPublicJwk";
35
+ } | {
36
+ /**
37
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord EncryptedRecord = 10;
38
+ */
39
+ value: EncryptedTaxBackupDataRecord;
40
+ case: "EncryptedRecord";
41
+ } | {
42
+ case: undefined;
43
+ value?: undefined;
44
+ };
45
+ };
46
+ /**
47
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse.
48
+ * Use `create(BackupAllDataResponseSchema)` to create a new message.
49
+ */
50
+ export declare const BackupAllDataResponseSchema: GenMessage<BackupAllDataResponse>;
51
+ /**
52
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord
53
+ */
54
+ export type EncryptedTaxBackupDataRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord"> & {
55
+ /**
56
+ * @generated from field: bytes EncryptionIV = 1;
57
+ */
58
+ EncryptionIV: Uint8Array;
59
+ /**
60
+ * @generated from field: bytes Data = 10;
61
+ */
62
+ Data: Uint8Array;
63
+ };
64
+ /**
65
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord.
66
+ * Use `create(EncryptedTaxBackupDataRecordSchema)` to create a new message.
67
+ */
68
+ export declare const EncryptedTaxBackupDataRecordSchema: GenMessage<EncryptedTaxBackupDataRecord>;
69
+ /**
70
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest
71
+ */
72
+ export type RestoreAllDataRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest"> & {
73
+ /**
74
+ * @generated from oneof IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.Request_oneof
75
+ */
76
+ RequestOneof: {
77
+ /**
78
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode Mode = 1;
79
+ */
80
+ value: RestoreAllDataRequest_RestoreMode;
81
+ case: "Mode";
82
+ } | {
83
+ /**
84
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord Record = 10;
85
+ */
86
+ value: TaxBackupDataRecord;
87
+ case: "Record";
88
+ } | {
89
+ case: undefined;
90
+ value?: undefined;
91
+ };
92
+ };
93
+ /**
94
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.
95
+ * Use `create(RestoreAllDataRequestSchema)` to create a new message.
96
+ */
97
+ export declare const RestoreAllDataRequestSchema: GenMessage<RestoreAllDataRequest>;
98
+ /**
99
+ * @generated from enum IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode
100
+ */
101
+ export declare enum RestoreAllDataRequest_RestoreMode {
102
+ /**
103
+ * Wipe entire tax database and restore tax. Any new tax will be deleted.
104
+ *
105
+ * @generated from enum value: Wipe = 0;
106
+ */
107
+ Wipe = 0,
108
+ /**
109
+ * Overwrite all records with corresponding record. Will not delete new records not in list.
110
+ *
111
+ * @generated from enum value: Overwrite = 1;
112
+ */
113
+ Overwrite = 1,
114
+ /**
115
+ * Only restore missing tax records. Will not overwrite tax records that already exist.
116
+ *
117
+ * @generated from enum value: MissingOnly = 2;
118
+ */
119
+ MissingOnly = 2
120
+ }
121
+ /**
122
+ * Describes the enum IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode.
123
+ */
124
+ export declare const RestoreAllDataRequest_RestoreModeSchema: GenEnum<RestoreAllDataRequest_RestoreMode>;
125
+ /**
126
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse
127
+ */
128
+ export type RestoreAllDataResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse"> & {
129
+ /**
130
+ * @generated from field: int32 NumRecordsRestored = 1;
131
+ */
132
+ NumRecordsRestored: number;
133
+ /**
134
+ * @generated from field: int32 NumRecordsSkipped = 2;
135
+ */
136
+ NumRecordsSkipped: number;
137
+ /**
138
+ * @generated from field: int32 NumRecordsOverwriten = 3;
139
+ */
140
+ NumRecordsOverwriten: number;
141
+ /**
142
+ * @generated from field: int32 NumRecordsWiped = 4;
143
+ */
144
+ NumRecordsWiped: number;
145
+ };
146
+ /**
147
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse.
148
+ * Use `create(RestoreAllDataResponseSchema)` to create a new message.
149
+ */
150
+ export declare const RestoreAllDataResponseSchema: GenMessage<RestoreAllDataResponse>;
151
+ /**
152
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord
153
+ */
154
+ export type TaxBackupDataRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord"> & {
155
+ /**
156
+ * Generic byte structure to save all application specific data for tax
157
+ *
158
+ * @generated from field: bytes ExtraData = 1;
159
+ */
160
+ ExtraData: Uint8Array;
161
+ /**
162
+ * TaxRecord
163
+ *
164
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord SalesTaxRecord = 2;
165
+ */
166
+ SalesTaxRecord?: SalesTaxByPostalCodeRecord;
167
+ };
168
+ /**
169
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord.
170
+ * Use `create(TaxBackupDataRecordSchema)` to create a new message.
171
+ */
172
+ export declare const TaxBackupDataRecordSchema: GenMessage<TaxBackupDataRecord>;
173
+ /**
174
+ * Service for Payment backup fragment interface
175
+ *
176
+ * @generated from service IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface
177
+ */
178
+ export declare const BackupInterface: GenService<{
179
+ /**
180
+ * Export a list of all data.
181
+ *
182
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.BackupAllData
183
+ */
184
+ backupAllData: {
185
+ methodKind: "server_streaming";
186
+ input: typeof BackupAllDataRequestSchema;
187
+ output: typeof BackupAllDataResponseSchema;
188
+ };
189
+ /**
190
+ * Restore a list of all data.
191
+ *
192
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.RestoreAllData
193
+ */
194
+ restoreAllData: {
195
+ methodKind: "client_streaming";
196
+ input: typeof RestoreAllDataRequestSchema;
197
+ output: typeof RestoreAllDataResponseSchema;
198
+ };
199
+ }>;
@@ -0,0 +1,42 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Tax/TaxRecords.proto.
5
+ */
6
+ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_Tax_TaxRecords: GenFile;
7
+ /**
8
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord
9
+ */
10
+ export type SalesTaxByPostalCodeRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord"> & {
11
+ /**
12
+ * ISO 3166-1 alpha-2
13
+ *
14
+ * @generated from field: string CountryCode = 1;
15
+ */
16
+ CountryCode: string;
17
+ /**
18
+ * @generated from field: string PostalCode = 2;
19
+ */
20
+ PostalCode: string;
21
+ /**
22
+ * ISO 3166-2
23
+ *
24
+ * @generated from field: string SubdivisionCode = 3;
25
+ */
26
+ SubdivisionCode: string;
27
+ /**
28
+ * Tax rate 1.234% = 1234 or taxrate * 100000
29
+ *
30
+ * @generated from field: uint32 TaxRateThousandPercents = 11;
31
+ */
32
+ TaxRateThousandPercents: number;
33
+ /**
34
+ * @generated from field: string StripeTaxRateId = 21;
35
+ */
36
+ StripeTaxRateId: string;
37
+ };
38
+ /**
39
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord.
40
+ * Use `create(SalesTaxByPostalCodeRecordSchema)` to create a new message.
41
+ */
42
+ export declare const SalesTaxByPostalCodeRecordSchema: GenMessage<SalesTaxByPostalCodeRecord>;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Service for Payment backup fragment interface
3
+ *
4
+ * @generated from service IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface
5
+ */
6
+ export declare const BackupInterface: {
7
+ readonly typeName: "IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface";
8
+ readonly methods: {
9
+ /**
10
+ * Export a list of all data.
11
+ *
12
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.BackupAllData
13
+ */
14
+ readonly backupAllData: {
15
+ readonly name: "BackupAllData";
16
+ readonly I: any;
17
+ readonly O: any;
18
+ readonly kind: any;
19
+ };
20
+ /**
21
+ * Restore a list of all data.
22
+ *
23
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.RestoreAllData
24
+ */
25
+ readonly restoreAllData: {
26
+ readonly name: "RestoreAllData";
27
+ readonly I: any;
28
+ readonly O: any;
29
+ readonly kind: any;
30
+ };
31
+ };
32
+ };
@@ -0,0 +1,3 @@
1
+ export * from './BackupInterface_pb';
2
+ export * from './TaxRecords_pb';
3
+ export * as connect from './connect';
@@ -9,3 +9,4 @@ export * as Fortis from './Fortis';
9
9
  export * as Manual from './Manual';
10
10
  export * as Paypal from './Paypal';
11
11
  export * as Stripe from './Stripe';
12
+ export * as Tax from './Tax';
@@ -1,6 +1,6 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
- import type { ContentPrivateData, ContentPublicData, ContentPublicRecord, ContentRecord } from "./ContentRecord_pb";
3
+ import type { ContentPrivateData, ContentPublicData, ContentPublicRecord, ContentRecord, ContentRecordSchema } from "./ContentRecord_pb";
4
4
  import type { APIError } from "../Errors_pb";
5
5
  import type { Message } from "@bufbuild/protobuf";
6
6
  /**
@@ -119,6 +119,20 @@ export type DeleteContentResponse = Message<"IT.WebServices.Fragments.Content.De
119
119
  * Use `create(DeleteContentResponseSchema)` to create a new message.
120
120
  */
121
121
  export declare const DeleteContentResponseSchema: GenMessage<DeleteContentResponse>;
122
+ /**
123
+ * @generated from message IT.WebServices.Fragments.Content.DumpAllContentAdminRequest
124
+ */
125
+ export type DumpAllContentAdminRequest = Message<"IT.WebServices.Fragments.Content.DumpAllContentAdminRequest"> & {
126
+ /**
127
+ * @generated from field: IT.WebServices.Fragments.Content.ContentType ContentType = 11;
128
+ */
129
+ ContentType: ContentType;
130
+ };
131
+ /**
132
+ * Describes the message IT.WebServices.Fragments.Content.DumpAllContentAdminRequest.
133
+ * Use `create(DumpAllContentAdminRequestSchema)` to create a new message.
134
+ */
135
+ export declare const DumpAllContentAdminRequestSchema: GenMessage<DumpAllContentAdminRequest>;
122
136
  /**
123
137
  * @generated from message IT.WebServices.Fragments.Content.GetAllContentRequest
124
138
  */
@@ -889,6 +903,14 @@ export declare const ContentInterface: GenService<{
889
903
  input: typeof DeleteContentRequestSchema;
890
904
  output: typeof DeleteContentResponseSchema;
891
905
  };
906
+ /**
907
+ * @generated from rpc IT.WebServices.Fragments.Content.ContentInterface.DumpAllContentAdmin
908
+ */
909
+ dumpAllContentAdmin: {
910
+ methodKind: "server_streaming";
911
+ input: typeof DumpAllContentAdminRequestSchema;
912
+ output: typeof ContentRecordSchema;
913
+ };
892
914
  /**
893
915
  * @generated from rpc IT.WebServices.Fragments.Content.ContentInterface.GetAllContent
894
916
  */
@@ -34,6 +34,15 @@ export declare const ContentInterface: {
34
34
  readonly O: any;
35
35
  readonly kind: any;
36
36
  };
37
+ /**
38
+ * @generated from rpc IT.WebServices.Fragments.Content.ContentInterface.DumpAllContentAdmin
39
+ */
40
+ readonly dumpAllContentAdmin: {
41
+ readonly name: "DumpAllContentAdmin";
42
+ readonly I: any;
43
+ readonly O: any;
44
+ readonly kind: any;
45
+ };
37
46
  /**
38
47
  * @generated from rpc IT.WebServices.Fragments.Content.ContentInterface.GetAllContent
39
48
  */
@@ -0,0 +1,115 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { MerchBulkAction, MerchBulkActionProgress } from "./SharedMerchTypes_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file Protos/IT/WebServices/Fragments/Merch/AdminMerchInterface.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Merch_AdminMerchInterface: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionCancelRequest
10
+ */
11
+ export type MerchBulkActionCancelRequest = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionCancelRequest"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Merch.MerchBulkAction Action = 1;
14
+ */
15
+ Action: MerchBulkAction;
16
+ };
17
+ /**
18
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionCancelRequest.
19
+ * Use `create(MerchBulkActionCancelRequestSchema)` to create a new message.
20
+ */
21
+ export declare const MerchBulkActionCancelRequestSchema: GenMessage<MerchBulkActionCancelRequest>;
22
+ /**
23
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionCancelResponse
24
+ */
25
+ export type MerchBulkActionCancelResponse = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionCancelResponse"> & {
26
+ /**
27
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.MerchBulkActionProgress RunningActions = 1;
28
+ */
29
+ RunningActions: MerchBulkActionProgress[];
30
+ };
31
+ /**
32
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionCancelResponse.
33
+ * Use `create(MerchBulkActionCancelResponseSchema)` to create a new message.
34
+ */
35
+ export declare const MerchBulkActionCancelResponseSchema: GenMessage<MerchBulkActionCancelResponse>;
36
+ /**
37
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionStartRequest
38
+ */
39
+ export type MerchBulkActionStartRequest = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionStartRequest"> & {
40
+ /**
41
+ * @generated from field: IT.WebServices.Fragments.Merch.MerchBulkAction Action = 1;
42
+ */
43
+ Action: MerchBulkAction;
44
+ };
45
+ /**
46
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionStartRequest.
47
+ * Use `create(MerchBulkActionStartRequestSchema)` to create a new message.
48
+ */
49
+ export declare const MerchBulkActionStartRequestSchema: GenMessage<MerchBulkActionStartRequest>;
50
+ /**
51
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionStartResponse
52
+ */
53
+ export type MerchBulkActionStartResponse = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionStartResponse"> & {
54
+ /**
55
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.MerchBulkActionProgress RunningActions = 1;
56
+ */
57
+ RunningActions: MerchBulkActionProgress[];
58
+ };
59
+ /**
60
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionStartResponse.
61
+ * Use `create(MerchBulkActionStartResponseSchema)` to create a new message.
62
+ */
63
+ export declare const MerchBulkActionStartResponseSchema: GenMessage<MerchBulkActionStartResponse>;
64
+ /**
65
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionStatusRequest
66
+ */
67
+ export type MerchBulkActionStatusRequest = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionStatusRequest"> & {};
68
+ /**
69
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionStatusRequest.
70
+ * Use `create(MerchBulkActionStatusRequestSchema)` to create a new message.
71
+ */
72
+ export declare const MerchBulkActionStatusRequestSchema: GenMessage<MerchBulkActionStatusRequest>;
73
+ /**
74
+ * @generated from message IT.WebServices.Fragments.Merch.MerchBulkActionStatusResponse
75
+ */
76
+ export type MerchBulkActionStatusResponse = Message<"IT.WebServices.Fragments.Merch.MerchBulkActionStatusResponse"> & {
77
+ /**
78
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.MerchBulkActionProgress RunningActions = 1;
79
+ */
80
+ RunningActions: MerchBulkActionProgress[];
81
+ };
82
+ /**
83
+ * Describes the message IT.WebServices.Fragments.Merch.MerchBulkActionStatusResponse.
84
+ * Use `create(MerchBulkActionStatusResponseSchema)` to create a new message.
85
+ */
86
+ export declare const MerchBulkActionStatusResponseSchema: GenMessage<MerchBulkActionStatusResponse>;
87
+ /**
88
+ * @generated from service IT.WebServices.Fragments.Merch.AdminMerchInterface
89
+ */
90
+ export declare const AdminMerchInterface: GenService<{
91
+ /**
92
+ * @generated from rpc IT.WebServices.Fragments.Merch.AdminMerchInterface.MerchBulkActionCancel
93
+ */
94
+ merchBulkActionCancel: {
95
+ methodKind: "unary";
96
+ input: typeof MerchBulkActionCancelRequestSchema;
97
+ output: typeof MerchBulkActionCancelResponseSchema;
98
+ };
99
+ /**
100
+ * @generated from rpc IT.WebServices.Fragments.Merch.AdminMerchInterface.MerchBulkActionStart
101
+ */
102
+ merchBulkActionStart: {
103
+ methodKind: "unary";
104
+ input: typeof MerchBulkActionStartRequestSchema;
105
+ output: typeof MerchBulkActionStartResponseSchema;
106
+ };
107
+ /**
108
+ * @generated from rpc IT.WebServices.Fragments.Merch.AdminMerchInterface.MerchBulkActionStatus
109
+ */
110
+ merchBulkActionStatus: {
111
+ methodKind: "unary";
112
+ input: typeof MerchBulkActionStatusRequestSchema;
113
+ output: typeof MerchBulkActionStatusResponseSchema;
114
+ };
115
+ }>;
@@ -0,0 +1,180 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { MerchRecordProvider } from "./SharedMerchTypes_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file Protos/IT/WebServices/Fragments/Merch/GenericMerchRecords.proto.
7
+ */
8
+ export declare const file_Protos_IT_WebServices_Fragments_Merch_GenericMerchRecords: GenFile;
9
+ /**
10
+ * @generated from message IT.WebServices.Fragments.Merch.GenericMerchRecord
11
+ */
12
+ export type GenericMerchRecord = Message<"IT.WebServices.Fragments.Merch.GenericMerchRecord"> & {
13
+ /**
14
+ * @generated from field: string InternalProductId = 1;
15
+ */
16
+ InternalProductId: string;
17
+ /**
18
+ * @generated from field: string InternalStoreId = 2;
19
+ */
20
+ InternalStoreId: string;
21
+ /**
22
+ * @generated from field: IT.WebServices.Fragments.Merch.MerchRecordProvider Provider = 4;
23
+ */
24
+ Provider: MerchRecordProvider;
25
+ /**
26
+ * @generated from field: string ProcessorProductId = 5;
27
+ */
28
+ ProcessorProductId: string;
29
+ /**
30
+ * @generated from field: string SKU = 11;
31
+ */
32
+ SKU: string;
33
+ /**
34
+ * @generated from field: uint32 PriceCents = 12;
35
+ */
36
+ PriceCents: number;
37
+ /**
38
+ * @generated from field: uint32 CompareAtPriceCents = 13;
39
+ */
40
+ CompareAtPriceCents: number;
41
+ /**
42
+ * @generated from field: string Title = 14;
43
+ */
44
+ Title: string;
45
+ /**
46
+ * @generated from field: string Description = 15;
47
+ */
48
+ Description: string;
49
+ /**
50
+ * @generated from field: string Vendor = 16;
51
+ */
52
+ Vendor: string;
53
+ /**
54
+ * @generated from field: string ProductType = 17;
55
+ */
56
+ ProductType: string;
57
+ /**
58
+ * @generated from field: string Url = 18;
59
+ */
60
+ Url: string;
61
+ /**
62
+ * @generated from field: IT.WebServices.Fragments.Merch.GenericMerchImageRecord FeaturedImage = 21;
63
+ */
64
+ FeaturedImage?: GenericMerchImageRecord;
65
+ /**
66
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.GenericMerchImageRecord OtherImages = 22;
67
+ */
68
+ OtherImages: GenericMerchImageRecord[];
69
+ /**
70
+ * @generated from field: repeated string Tags = 23;
71
+ */
72
+ Tags: string[];
73
+ /**
74
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.GenericMerchVariantRecord Variants = 24;
75
+ */
76
+ Variants: GenericMerchVariantRecord[];
77
+ /**
78
+ * @generated from field: bool InStock = 25;
79
+ */
80
+ InStock: boolean;
81
+ /**
82
+ * @generated from field: google.protobuf.Timestamp CreatedOnUTC = 51;
83
+ */
84
+ CreatedOnUTC?: Timestamp;
85
+ /**
86
+ * @generated from field: google.protobuf.Timestamp ModifiedOnUTC = 52;
87
+ */
88
+ ModifiedOnUTC?: Timestamp;
89
+ /**
90
+ * @generated from field: google.protobuf.Timestamp PublishOnUTC = 53;
91
+ */
92
+ PublishOnUTC?: Timestamp;
93
+ };
94
+ /**
95
+ * Describes the message IT.WebServices.Fragments.Merch.GenericMerchRecord.
96
+ * Use `create(GenericMerchRecordSchema)` to create a new message.
97
+ */
98
+ export declare const GenericMerchRecordSchema: GenMessage<GenericMerchRecord>;
99
+ /**
100
+ * @generated from message IT.WebServices.Fragments.Merch.GenericMerchVariantRecord
101
+ */
102
+ export type GenericMerchVariantRecord = Message<"IT.WebServices.Fragments.Merch.GenericMerchVariantRecord"> & {
103
+ /**
104
+ * @generated from field: string ProcessorVariantId = 1;
105
+ */
106
+ ProcessorVariantId: string;
107
+ /**
108
+ * @generated from field: string SKU = 2;
109
+ */
110
+ SKU: string;
111
+ /**
112
+ * @generated from field: uint32 PriceCents = 3;
113
+ */
114
+ PriceCents: number;
115
+ /**
116
+ * @generated from field: uint32 CompareAtPriceCents = 4;
117
+ */
118
+ CompareAtPriceCents: number;
119
+ /**
120
+ * @generated from field: bool InStock = 5;
121
+ */
122
+ InStock: boolean;
123
+ /**
124
+ * @generated from field: repeated IT.WebServices.Fragments.Merch.GenericMerchVariantOption Options = 6;
125
+ */
126
+ Options: GenericMerchVariantOption[];
127
+ /**
128
+ * @generated from field: IT.WebServices.Fragments.Merch.GenericMerchImageRecord Image = 7;
129
+ */
130
+ Image?: GenericMerchImageRecord;
131
+ };
132
+ /**
133
+ * Describes the message IT.WebServices.Fragments.Merch.GenericMerchVariantRecord.
134
+ * Use `create(GenericMerchVariantRecordSchema)` to create a new message.
135
+ */
136
+ export declare const GenericMerchVariantRecordSchema: GenMessage<GenericMerchVariantRecord>;
137
+ /**
138
+ * @generated from message IT.WebServices.Fragments.Merch.GenericMerchVariantOption
139
+ */
140
+ export type GenericMerchVariantOption = Message<"IT.WebServices.Fragments.Merch.GenericMerchVariantOption"> & {
141
+ /**
142
+ * e.g. "Size", "Color"
143
+ *
144
+ * @generated from field: string Name = 1;
145
+ */
146
+ Name: string;
147
+ /**
148
+ * e.g. "Large", "Red"
149
+ *
150
+ * @generated from field: string Value = 2;
151
+ */
152
+ Value: string;
153
+ };
154
+ /**
155
+ * Describes the message IT.WebServices.Fragments.Merch.GenericMerchVariantOption.
156
+ * Use `create(GenericMerchVariantOptionSchema)` to create a new message.
157
+ */
158
+ export declare const GenericMerchVariantOptionSchema: GenMessage<GenericMerchVariantOption>;
159
+ /**
160
+ * @generated from message IT.WebServices.Fragments.Merch.GenericMerchImageRecord
161
+ */
162
+ export type GenericMerchImageRecord = Message<"IT.WebServices.Fragments.Merch.GenericMerchImageRecord"> & {
163
+ /**
164
+ * @generated from field: string ImageAssetID = 1;
165
+ */
166
+ ImageAssetID: string;
167
+ /**
168
+ * @generated from field: string AltText = 2;
169
+ */
170
+ AltText: string;
171
+ /**
172
+ * @generated from field: string Url = 3;
173
+ */
174
+ Url: string;
175
+ };
176
+ /**
177
+ * Describes the message IT.WebServices.Fragments.Merch.GenericMerchImageRecord.
178
+ * Use `create(GenericMerchImageRecordSchema)` to create a new message.
179
+ */
180
+ export declare const GenericMerchImageRecordSchema: GenMessage<GenericMerchImageRecord>;