@rippling/rippling-sdk 0.2.0-alpha.115 → 0.2.0-alpha.116

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 (113) hide show
  1. package/client.d.mts +4 -4
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +4 -4
  4. package/client.d.ts.map +1 -1
  5. package/client.js.map +1 -1
  6. package/client.mjs.map +1 -1
  7. package/lib/manifest/acp-agent-source-files.d.mts +2 -1
  8. package/lib/manifest/acp-agent-source-files.d.mts.map +1 -1
  9. package/lib/manifest/acp-agent-source-files.d.ts +2 -1
  10. package/lib/manifest/acp-agent-source-files.d.ts.map +1 -1
  11. package/lib/manifest/acp-agent-source-files.js +21 -2
  12. package/lib/manifest/acp-agent-source-files.js.map +1 -1
  13. package/lib/manifest/acp-agent-source-files.mjs +21 -2
  14. package/lib/manifest/acp-agent-source-files.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/agents/agents.d.mts +32 -6
  17. package/resources/agents/agents.d.mts.map +1 -1
  18. package/resources/agents/agents.d.ts +32 -6
  19. package/resources/agents/agents.d.ts.map +1 -1
  20. package/resources/agents/agents.js +12 -6
  21. package/resources/agents/agents.js.map +1 -1
  22. package/resources/agents/agents.mjs +12 -6
  23. package/resources/agents/agents.mjs.map +1 -1
  24. package/resources/agents/sessions/messages.d.mts +16 -1
  25. package/resources/agents/sessions/messages.d.mts.map +1 -1
  26. package/resources/agents/sessions/messages.d.ts +16 -1
  27. package/resources/agents/sessions/messages.d.ts.map +1 -1
  28. package/resources/agents/sessions/messages.js +4 -1
  29. package/resources/agents/sessions/messages.js.map +1 -1
  30. package/resources/agents/sessions/messages.mjs +4 -1
  31. package/resources/agents/sessions/messages.mjs.map +1 -1
  32. package/resources/card-transactions.d.mts +759 -54
  33. package/resources/card-transactions.d.mts.map +1 -1
  34. package/resources/card-transactions.d.ts +759 -54
  35. package/resources/card-transactions.d.ts.map +1 -1
  36. package/resources/card-transactions.js +204 -0
  37. package/resources/card-transactions.js.map +1 -1
  38. package/resources/card-transactions.mjs +204 -0
  39. package/resources/card-transactions.mjs.map +1 -1
  40. package/resources/custom-apps.d.mts +6 -6
  41. package/resources/custom-apps.d.ts +6 -6
  42. package/resources/index.d.mts +2 -2
  43. package/resources/index.d.mts.map +1 -1
  44. package/resources/index.d.ts +2 -2
  45. package/resources/index.d.ts.map +1 -1
  46. package/resources/index.js.map +1 -1
  47. package/resources/index.mjs.map +1 -1
  48. package/resources/package-manifests/packages/versions.d.mts +10 -0
  49. package/resources/package-manifests/packages/versions.d.mts.map +1 -1
  50. package/resources/package-manifests/packages/versions.d.ts +10 -0
  51. package/resources/package-manifests/packages/versions.d.ts.map +1 -1
  52. package/resources/package-manifests/packages/versions.js +1 -0
  53. package/resources/package-manifests/packages/versions.js.map +1 -1
  54. package/resources/package-manifests/packages/versions.mjs +1 -0
  55. package/resources/package-manifests/packages/versions.mjs.map +1 -1
  56. package/resources/package-versions/package-versions.d.mts +35 -5
  57. package/resources/package-versions/package-versions.d.mts.map +1 -1
  58. package/resources/package-versions/package-versions.d.ts +35 -5
  59. package/resources/package-versions/package-versions.d.ts.map +1 -1
  60. package/resources/package-versions/package-versions.js +8 -5
  61. package/resources/package-versions/package-versions.js.map +1 -1
  62. package/resources/package-versions/package-versions.mjs +8 -5
  63. package/resources/package-versions/package-versions.mjs.map +1 -1
  64. package/resources/package-versions/publish.d.mts +10 -0
  65. package/resources/package-versions/publish.d.mts.map +1 -1
  66. package/resources/package-versions/publish.d.ts +10 -0
  67. package/resources/package-versions/publish.d.ts.map +1 -1
  68. package/resources/package-versions/publish.js +1 -0
  69. package/resources/package-versions/publish.js.map +1 -1
  70. package/resources/package-versions/publish.mjs +1 -0
  71. package/resources/package-versions/publish.mjs.map +1 -1
  72. package/resources/packages/next-versions.d.mts +10 -0
  73. package/resources/packages/next-versions.d.mts.map +1 -1
  74. package/resources/packages/next-versions.d.ts +10 -0
  75. package/resources/packages/next-versions.d.ts.map +1 -1
  76. package/resources/packages/next-versions.js +1 -0
  77. package/resources/packages/next-versions.js.map +1 -1
  78. package/resources/packages/next-versions.mjs +1 -0
  79. package/resources/packages/next-versions.mjs.map +1 -1
  80. package/resources/packages/versions.d.mts +20 -0
  81. package/resources/packages/versions.d.mts.map +1 -1
  82. package/resources/packages/versions.d.ts +20 -0
  83. package/resources/packages/versions.d.ts.map +1 -1
  84. package/resources/packages/versions.js +2 -0
  85. package/resources/packages/versions.js.map +1 -1
  86. package/resources/packages/versions.mjs +2 -0
  87. package/resources/packages/versions.mjs.map +1 -1
  88. package/resources/reimbursements.d.mts +1086 -44
  89. package/resources/reimbursements.d.mts.map +1 -1
  90. package/resources/reimbursements.d.ts +1086 -44
  91. package/resources/reimbursements.d.ts.map +1 -1
  92. package/resources/reimbursements.js +212 -0
  93. package/resources/reimbursements.js.map +1 -1
  94. package/resources/reimbursements.mjs +212 -0
  95. package/resources/reimbursements.mjs.map +1 -1
  96. package/src/client.ts +8 -0
  97. package/src/lib/manifest/acp-agent-source-files.ts +17 -2
  98. package/src/resources/agents/agents.ts +36 -6
  99. package/src/resources/agents/sessions/messages.ts +17 -1
  100. package/src/resources/card-transactions.ts +881 -40
  101. package/src/resources/custom-apps.ts +6 -6
  102. package/src/resources/index.ts +4 -0
  103. package/src/resources/package-manifests/packages/versions.ts +11 -0
  104. package/src/resources/package-versions/package-versions.ts +38 -5
  105. package/src/resources/package-versions/publish.ts +11 -0
  106. package/src/resources/packages/next-versions.ts +11 -0
  107. package/src/resources/packages/versions.ts +22 -0
  108. package/src/resources/reimbursements.ts +1266 -31
  109. package/src/version.ts +1 -1
  110. package/version.d.mts +1 -1
  111. package/version.d.ts +1 -1
  112. package/version.js +1 -1
  113. package/version.mjs +1 -1
@@ -204,7 +204,7 @@ export type CustomAppListResponsesPageCursorURL = PageCursorURL<CustomAppListRes
204
204
 
205
205
  export interface CustomAppListResponse {
206
206
  /**
207
- * The unique api name of the custom app
207
+ * The unique api name of the custom app ending in \_\_c
208
208
  */
209
209
  api_name: string;
210
210
 
@@ -288,7 +288,7 @@ export namespace CustomAppListResponse {
288
288
 
289
289
  export interface CustomAppCreateResponse {
290
290
  /**
291
- * The unique api name of the custom app
291
+ * The unique api name of the custom app ending in \_\_c
292
292
  */
293
293
  api_name: string;
294
294
 
@@ -375,7 +375,7 @@ export namespace CustomAppCreateResponse {
375
375
  */
376
376
  export interface CustomAppRetrieveResponse extends BusinessPartnersAPI.Meta {
377
377
  /**
378
- * The unique api name of the custom app
378
+ * The unique api name of the custom app ending in \_\_c
379
379
  */
380
380
  api_name: string;
381
381
 
@@ -459,7 +459,7 @@ export namespace CustomAppRetrieveResponse {
459
459
 
460
460
  export interface CustomAppUpdateResponse {
461
461
  /**
462
- * The unique api name of the custom app
462
+ * The unique api name of the custom app ending in \_\_c
463
463
  */
464
464
  api_name: string;
465
465
 
@@ -543,7 +543,7 @@ export namespace CustomAppUpdateResponse {
543
543
 
544
544
  export interface CustomAppCreateParams {
545
545
  /**
546
- * The unique api name of the custom app
546
+ * The unique api name of the custom app ending in \_\_c
547
547
  */
548
548
  api_name: string;
549
549
 
@@ -560,7 +560,7 @@ export interface CustomAppCreateParams {
560
560
 
561
561
  export interface CustomAppUpdateParams {
562
562
  /**
563
- * The unique api name of the custom app
563
+ * The unique api name of the custom app ending in \_\_c
564
564
  */
565
565
  api_name: string;
566
566
 
@@ -173,10 +173,12 @@ export {
173
173
  type CardTransactionListResponse,
174
174
  type CardTransactionRetrieveResponse,
175
175
  type CardTransactionUpdateResponse,
176
+ type CardTransactionUploadAttachmentResponse,
176
177
  type CardTransactionUploadReceiptResponse,
177
178
  type CardTransactionListParams,
178
179
  type CardTransactionRetrieveParams,
179
180
  type CardTransactionUpdateParams,
181
+ type CardTransactionUploadAttachmentParams,
180
182
  type CardTransactionUploadReceiptParams,
181
183
  type CardTransactionListResponsesPageCursorURL,
182
184
  } from './card-transactions';
@@ -684,10 +686,12 @@ export {
684
686
  type ReimbursementListResponse,
685
687
  type ReimbursementRetrieveResponse,
686
688
  type ReimbursementUpdateResponse,
689
+ type ReimbursementUploadAttachmentResponse,
687
690
  type ReimbursementUploadReceiptResponse,
688
691
  type ReimbursementListParams,
689
692
  type ReimbursementRetrieveParams,
690
693
  type ReimbursementUpdateParams,
694
+ type ReimbursementUploadAttachmentParams,
691
695
  type ReimbursementUploadReceiptParams,
692
696
  type ReimbursementListResponsesPageCursorURL,
693
697
  } from './reimbursements';
@@ -57,6 +57,7 @@ export class Versions extends APIResource {
57
57
  * }
58
58
  * }
59
59
  * ],
60
+ * "post_install_landing_component": {},
60
61
  * "post_install_function": "string"
61
62
  * }
62
63
  * ```
@@ -131,6 +132,16 @@ export interface VersionCreateResponse {
131
132
  * refreshed or copied.
132
133
  */
133
134
  post_install_function?: string | null;
135
+
136
+ /**
137
+ * The identifier of the packaged component to open after installation. Use the
138
+ * identifier from a components entry whose type supports post-install landing. Set
139
+ * through PATCH on an unpublished version after adding the component. Creation
140
+ * rejects this field. Null clears the explicit selection and omission preserves
141
+ * it. Without an explicit selection, installation defaults to the first packaged
142
+ * Custom App, if any.
143
+ */
144
+ post_install_landing_component?: unknown;
134
145
  }
135
146
 
136
147
  export namespace VersionCreateResponse {
@@ -45,6 +45,7 @@ export class PackageVersions extends APIResource {
45
45
  * }
46
46
  * }
47
47
  * ],
48
+ * "post_install_landing_component": {},
48
49
  * "post_install_function": "string"
49
50
  * }
50
51
  * ```
@@ -54,11 +55,12 @@ export class PackageVersions extends APIResource {
54
55
  }
55
56
 
56
57
  /**
57
- * Update the description or post-install function of an unpublished package
58
- * version. Provide at least one of description or post_install_function. Omitted
59
- * fields are preserved. The hook uses a portable component API name because
60
- * Function IDs differ between companies. Hook failures retain installed components
61
- * and data written by the function. For unmanaged installs,
58
+ * Update the description, post-install function, or post-install landing component
59
+ * of an unpublished package version. Provide at least one of description,
60
+ * post_install_function, or post_install_landing_component. Omitted fields are
61
+ * preserved. The hook uses a portable component API name because Function IDs
62
+ * differ between companies. Hook failures retain installed components and data
63
+ * written by the function. For unmanaged installs,
62
64
  * PackageInstallationTracker.status becomes COMPLETE_WITH_WARNINGS. Read
63
65
  * error_message for warning details. For managed installs,
64
66
  * ManagedPackageInstallation.status becomes ACTIVE_WITH_WARNINGS. Read
@@ -99,6 +101,7 @@ export class PackageVersions extends APIResource {
99
101
  * }
100
102
  * }
101
103
  * ],
104
+ * "post_install_landing_component": {},
102
105
  * "post_install_function": "string"
103
106
  * }
104
107
  * ```
@@ -173,6 +176,16 @@ export interface PackageVersionRetrieveResponse {
173
176
  * refreshed or copied.
174
177
  */
175
178
  post_install_function?: string | null;
179
+
180
+ /**
181
+ * The identifier of the packaged component to open after installation. Use the
182
+ * identifier from a components entry whose type supports post-install landing. Set
183
+ * through PATCH on an unpublished version after adding the component. Creation
184
+ * rejects this field. Null clears the explicit selection and omission preserves
185
+ * it. Without an explicit selection, installation defaults to the first packaged
186
+ * Custom App, if any.
187
+ */
188
+ post_install_landing_component?: unknown;
176
189
  }
177
190
 
178
191
  export namespace PackageVersionRetrieveResponse {
@@ -261,6 +274,16 @@ export interface PackageVersionUpdateResponse {
261
274
  * refreshed or copied.
262
275
  */
263
276
  post_install_function?: string | null;
277
+
278
+ /**
279
+ * The identifier of the packaged component to open after installation. Use the
280
+ * identifier from a components entry whose type supports post-install landing. Set
281
+ * through PATCH on an unpublished version after adding the component. Creation
282
+ * rejects this field. Null clears the explicit selection and omission preserves
283
+ * it. Without an explicit selection, installation defaults to the first packaged
284
+ * Custom App, if any.
285
+ */
286
+ post_install_landing_component?: unknown;
264
287
  }
265
288
 
266
289
  export namespace PackageVersionUpdateResponse {
@@ -303,6 +326,16 @@ export interface PackageVersionUpdateParams {
303
326
  * refreshed or copied.
304
327
  */
305
328
  post_install_function?: string | null;
329
+
330
+ /**
331
+ * The identifier of the packaged component to open after installation. Use the
332
+ * identifier from a components entry whose type supports post-install landing. Set
333
+ * through PATCH on an unpublished version after adding the component. Creation
334
+ * rejects this field. Null clears the explicit selection and omission preserves
335
+ * it. Without an explicit selection, installation defaults to the first packaged
336
+ * Custom App, if any.
337
+ */
338
+ post_install_landing_component?: unknown | null;
306
339
  }
307
340
 
308
341
  PackageVersions.Publish = Publish;
@@ -41,6 +41,7 @@ export class Publish extends APIResource {
41
41
  * }
42
42
  * }
43
43
  * ],
44
+ * "post_install_landing_component": {},
44
45
  * "post_install_function": "string"
45
46
  * }
46
47
  * ```
@@ -111,6 +112,16 @@ export interface PublishCreateResponse {
111
112
  * refreshed or copied.
112
113
  */
113
114
  post_install_function?: string | null;
115
+
116
+ /**
117
+ * The identifier of the packaged component to open after installation. Use the
118
+ * identifier from a components entry whose type supports post-install landing. Set
119
+ * through PATCH on an unpublished version after adding the component. Creation
120
+ * rejects this field. Null clears the explicit selection and omission preserves
121
+ * it. Without an explicit selection, installation defaults to the first packaged
122
+ * Custom App, if any.
123
+ */
124
+ post_install_landing_component?: unknown;
114
125
  }
115
126
 
116
127
  export namespace PublishCreateResponse {
@@ -48,6 +48,7 @@ export class NextVersions extends APIResource {
48
48
  * }
49
49
  * }
50
50
  * ],
51
+ * "post_install_landing_component": {},
51
52
  * "post_install_function": "string"
52
53
  * }
53
54
  * ```
@@ -122,6 +123,16 @@ export interface NextVersionCreateResponse {
122
123
  * refreshed or copied.
123
124
  */
124
125
  post_install_function?: string | null;
126
+
127
+ /**
128
+ * The identifier of the packaged component to open after installation. Use the
129
+ * identifier from a components entry whose type supports post-install landing. Set
130
+ * through PATCH on an unpublished version after adding the component. Creation
131
+ * rejects this field. Null clears the explicit selection and omission preserves
132
+ * it. Without an explicit selection, installation defaults to the first packaged
133
+ * Custom App, if any.
134
+ */
135
+ post_install_landing_component?: unknown;
125
136
  }
126
137
 
127
138
  export namespace NextVersionCreateResponse {
@@ -39,6 +39,7 @@ export class Versions extends APIResource {
39
39
  * "components": [
40
40
  * {}
41
41
  * ],
42
+ * "post_install_landing_component": {},
42
43
  * "post_install_function": "string"
43
44
  * }
44
45
  * ],
@@ -99,6 +100,7 @@ export class Versions extends APIResource {
99
100
  * }
100
101
  * }
101
102
  * ],
103
+ * "post_install_landing_component": {},
102
104
  * "post_install_function": "string"
103
105
  * }
104
106
  * ```
@@ -175,6 +177,16 @@ export interface VersionListResponse {
175
177
  * refreshed or copied.
176
178
  */
177
179
  post_install_function?: string | null;
180
+
181
+ /**
182
+ * The identifier of the packaged component to open after installation. Use the
183
+ * identifier from a components entry whose type supports post-install landing. Set
184
+ * through PATCH on an unpublished version after adding the component. Creation
185
+ * rejects this field. Null clears the explicit selection and omission preserves
186
+ * it. Without an explicit selection, installation defaults to the first packaged
187
+ * Custom App, if any.
188
+ */
189
+ post_install_landing_component?: unknown;
178
190
  }
179
191
 
180
192
  export namespace VersionListResponse {
@@ -263,6 +275,16 @@ export interface VersionCreateResponse {
263
275
  * refreshed or copied.
264
276
  */
265
277
  post_install_function?: string | null;
278
+
279
+ /**
280
+ * The identifier of the packaged component to open after installation. Use the
281
+ * identifier from a components entry whose type supports post-install landing. Set
282
+ * through PATCH on an unpublished version after adding the component. Creation
283
+ * rejects this field. Null clears the explicit selection and omission preserves
284
+ * it. Without an explicit selection, installation defaults to the first packaged
285
+ * Custom App, if any.
286
+ */
287
+ post_install_landing_component?: unknown;
266
288
  }
267
289
 
268
290
  export namespace VersionCreateResponse {